diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-06-25 23:55:07 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-06-25 23:55:07 +0000 |
commit | 57790c56853d57b675f650194dbf7a11d71bc5a5 (patch) | |
tree | 9dc25a6e6757771f11abab8b460e917638102f06 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | b7a52bb28a75615369369d2d88554b0df084d05a (diff) | |
download | llvm-57790c56853d57b675f650194dbf7a11d71bc5a5.zip llvm-57790c56853d57b675f650194dbf7a11d71bc5a5.tar.gz llvm-57790c56853d57b675f650194dbf7a11d71bc5a5.tar.bz2 |
[analyzer] Track null and undef values through expressions with cleanups.
ExprWithCleanups wraps full-expressions that require temporary destructors
and highlights the moment of time in which these destructors need to be called
(i.e., "at the end of the full-expression...").
Such expressions don't necessarily return an object; they may return anything,
including a null or undefined value.
When the analyzer tries to understand where the null or undefined value came
from in order to present better diagnostics to the user, it will now skip
any ExprWithCleanups it encounters and look into the expression itself.
Differential Revision: https://reviews.llvm.org/D48204
llvm-svn: 335559
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions