[PATCH] D56632: [analyzer] Track region liveness only through base regions.
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 16 04:50:58 PST 2019
Szelethus added inline comments.
================
Comment at: test/Analysis/symbol-reaper.cpp:31
+ clang_analyzer_eval(glob); // expected-warning{{TRUE}}
+ // expected-warning at -1{{SYMBOL DEAD}}
+}
----------------
NoQ wrote:
> Szelethus wrote:
> > N00b question: What does `SYMBOL DEAD` mean here exactly?
> It's a warning produced by `clang_analyzer_warnOnDeadSymbol(a.x)` when the value that was in `a.x` (that was there when that function was called) dies. This is an `ExprInspection` utility that was created in order to test `SymbolReaper` more directly. See `symbol-reaper.c` for more such tests.
Oooh right. I thought it's produced by `clang_analyzer_eval(glob);`. Thanks!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56632/new/
https://reviews.llvm.org/D56632
More information about the cfe-commits
mailing list