summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-05-10 12:42:26 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-05-10 12:42:26 +0000
commit14b1cf35b5a9991a584e14025e353af152c2227c (patch)
treed0872491daf4ac50825878efeccbb7e51bf678f3 /clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
parentadf4b739eac40feee28bd6fcd89ebafa0f2247e1 (diff)
downloadbcm5719-llvm-14b1cf35b5a9991a584e14025e353af152c2227c.tar.gz
bcm5719-llvm-14b1cf35b5a9991a584e14025e353af152c2227c.zip
[FIX] Create error-restrictions late
Before this patch we generated error-restrictions only for error-blocks, thus blocks (or regions) containing a not represented function call. However, the same reasoning is needed if the invalid domain of a statement subsumes its actual domain. To this end we move the generation of error-restrictions after the propagation of the invalid domains. Consequently, error-statements are now defined more general as statements that are assumed to be not executed. Additionally, we do not record an empty domain for such statements but a nullptr instead. This allows to distinguish between error-statements and dead-statements. llvm-svn: 269053
Diffstat (limited to 'clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud