summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/TextDiagnosticBuffer.cpp
diff options
context:
space:
mode:
authorGabor Horvath <xazax@google.com>2019-12-11 11:34:44 -0800
committerGabor Horvath <xazax@google.com>2019-12-11 17:15:12 -0800
commit9fdcae7c81f5ff92ad694f5d993a042a525fd6bc (patch)
treefb392a017fd46a9315d0a76abaf0c608a59e5d1a /clang/lib/Frontend/TextDiagnosticBuffer.cpp
parent83e1bd36be988ffce4732f400ff6f06442c34011 (diff)
downloadbcm5719-llvm-9fdcae7c81f5ff92ad694f5d993a042a525fd6bc.tar.gz
bcm5719-llvm-9fdcae7c81f5ff92ad694f5d993a042a525fd6bc.zip
[analyzer] Do not cache out on some shared implicit AST nodes
Some AST nodes which stands for implicit initialization is shared. The analyzer will do the same evaluation on the same nodes resulting in the same state. The analyzer will "cache out", i.e. it thinks that it visited an already existing node in the exploded graph. This is not true in this case and we lose coverage. Since these nodes do not really require any processing from the analyzer we just omit them from the CFG. Differential Revision: https://reviews.llvm.org/D71371
Diffstat (limited to 'clang/lib/Frontend/TextDiagnosticBuffer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud