aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2021-03-04 23:21:29 -0600
committerMichael Kruse <llvm-project@meinersbur.de>2021-03-04 23:23:58 -0600
commitbc172e532a89754d47fef1306064a26a4dc0a76b (patch)
tree79fd0a581dc0f99b9c32916dbb1adfaf3a7e5851
parent8a07c4a10b23acf05c6aaca2800081df56f44f82 (diff)
downloadllvm-bc172e532a89754d47fef1306064a26a4dc0a76b.zip
llvm-bc172e532a89754d47fef1306064a26a4dc0a76b.tar.gz
llvm-bc172e532a89754d47fef1306064a26a4dc0a76b.tar.bz2
[clang][StaticAnalyzer] Compilation fix.
An enum was unhandled after landing of D94973. Add the new OMPCanonicalLoopClass to the list of unhandled cases.
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index 465af24..a388fc9 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -1238,6 +1238,7 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
case Stmt::SEHExceptStmtClass:
case Stmt::SEHLeaveStmtClass:
case Stmt::SEHFinallyStmtClass:
+ case Stmt::OMPCanonicalLoopClass:
case Stmt::OMPParallelDirectiveClass:
case Stmt::OMPSimdDirectiveClass:
case Stmt::OMPForDirectiveClass: