Author: Kirstóf Umann Date: 2020-05-21T01:54:50+02:00 New Revision: 48a8c7dcbfb90e917920e90fa2b3ec402e72f4cd
URL: https://github.com/llvm/llvm-project/commit/48a8c7dcbfb90e917920e90fa2b3ec402e72f4cd DIFF: https://github.com/llvm/llvm-project/commit/48a8c7dcbfb90e917920e90fa2b3ec402e72f4cd.diff LOG: [analyzer] Make buildbots happy Added: Modified: clang/test/Analysis/malloc.c Removed: ################################################################################ diff --git a/clang/test/Analysis/malloc.c b/clang/test/Analysis/malloc.c index 2cd9d2845877..a8aabf9f9ace 100644 --- a/clang/test/Analysis/malloc.c +++ b/clang/test/Analysis/malloc.c @@ -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. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits