brintos

brintos / llvm-project-archived public Read only

0
0
Text · 681 B · cb12b55 Raw
19 lines · c
1// Like the compiler, the static analyzer treats some functions differently if2// they come from a system header -- for example, it is assumed that system3// functions do not arbitrarily free() their parameters, and that some bugs4// found in system headers cannot be fixed by the user and should be5// suppressed.6#pragma clang system_header7 8class Arena;9class MessageLite {10  int SomeArbitraryField;11};12 13// Originally declared in generated_message_util.h14MessageLite *GetOwnedMessageInternal(Arena *, MessageLite *, Arena *);15 16// Not a real protobuf function -- just introduced to validate that this file17// is handled as a system header.18void SomeOtherFunction(MessageLite *);19