[PATCH] D30157: [analyzer] Improve valist check
Anna Zaks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 1 13:36:57 PST 2017
zaks.anna added inline comments.
================
Comment at: test/Analysis/valist-uninitialized-no-undef.c:25
+ va_list va;
+ vprintf(isstring ? "%s" : "%d", va); //expected-warning{{Function 'vprintf' is called with an uninitialized va_list argument}} expected-note{{Function 'vprintf' is called with an uninitialized va_list argument}} expected-note{{Assuming 'isstring' is 0}} expected-note{{'?' condition is false}}
+}
----------------
Please, split the long "expected" lines into multiple lines - one per note. It will improve readability in non-wrapping editors. Thanks!
https://reviews.llvm.org/D30157
More information about the cfe-commits
mailing list