aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-05-05 13:38:35 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-05-05 13:38:35 +0000
commitf1052ceb5e5c075f3ea457e3142f8395c6a0a160 (patch)
treecc426173c9d811229e51132c82d73358acc50671 /clang/lib/Tooling/JSONCompilationDatabase.cpp
parentac3c4b6da458b19fbe6f17b6119d35a2ea247612 (diff)
downloadllvm-f1052ceb5e5c075f3ea457e3142f8395c6a0a160.zip
llvm-f1052ceb5e5c075f3ea457e3142f8395c6a0a160.tar.gz
llvm-f1052ceb5e5c075f3ea457e3142f8395c6a0a160.tar.bz2
[ScopBuilder] Do not verify unfeasible SCoPs.
SCoPs with unfeasible runtime context are thrown away and therefore do not need their uses verified. The added test case requires a complexity limit to exceed. Normally, error statements are removed from the SCoP and for that reason are skipped during the verification. If there is a unfeasible runtime context (here: because of the complexity limit being reached), the removal of error statements and other SCoP construction steps are skipped to not waste time. Error statements are not modeled in SCoPs and therefore have no requirements on whether the scalars used in them are available. llvm-svn: 302234
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions