[PATCH] D48285: [analyzer]{UninitializedObjectChecker] Added "NotesAsWarnings" flag
Umann Kristóf via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 19 01:23:16 PDT 2018
Szelethus updated this revision to Diff 151866.
Szelethus added a comment.
In https://reviews.llvm.org/D48285#1136059, @NoQ wrote:
> Also, great, and can i has tests?^^
>
> Like a simple code snippet with two `// RUN: ... -analyzer-output=text` lines and different expected-warnings/notes under `#if`s.
I intended to, but forgot `git add`. Whoops. I didn't find a satisfying way to add it to the existing tests without surrounding the entire file with `#if`, so I added a new test file instead.
https://reviews.llvm.org/D48285
Files:
lib/StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp
test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48285.151866.patch
Type: text/x-patch
Size: 5805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180619/fcf95474/attachment.bin>
More information about the cfe-commits
mailing list