diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-05-10 12:42:26 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-05-10 12:42:26 +0000 |
commit | 14b1cf35b5a9991a584e14025e353af152c2227c (patch) | |
tree | d0872491daf4ac50825878efeccbb7e51bf678f3 /clang/unittests/Basic | |
parent | adf4b739eac40feee28bd6fcd89ebafa0f2247e1 (diff) | |
download | llvm-14b1cf35b5a9991a584e14025e353af152c2227c.zip llvm-14b1cf35b5a9991a584e14025e353af152c2227c.tar.gz llvm-14b1cf35b5a9991a584e14025e353af152c2227c.tar.bz2 |
[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/unittests/Basic')
0 files changed, 0 insertions, 0 deletions