forked from OSchip/llvm-project
[analyzer] Make buildbots happy
This commit is contained in:
parent
b4f9b34701
commit
48a8c7dcbf
|
@ -1843,9 +1843,10 @@ variable 'buf', which is not memory allocated by malloc() [unix.Malloc]}}
|
|||
}
|
||||
}
|
||||
|
||||
(*crash_a)();
|
||||
(*crash_a)(); // expected-warning{{type specifier missing}}
|
||||
// A CallEvent without a corresponding FunctionDecl.
|
||||
crash_b() { crash_a(); } // no-crash
|
||||
// expected-warning@-1{{type specifier missing}} expected-warning@-1{{non-void}}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// False negatives.
|
||||
|
|
Loading…
Reference in New Issue