[clang][StaticAnalyzer] Compilation fix.
authorMichael Kruse <llvm-project@meinersbur.de>
Fri, 5 Mar 2021 05:21:29 +0000 (23:21 -0600)
committerMichael Kruse <llvm-project@meinersbur.de>
Fri, 5 Mar 2021 05:23:58 +0000 (23:23 -0600)
An enum was unhandled after landing of D94973. Add the new
OMPCanonicalLoopClass to the list of unhandled cases.

clang/lib/StaticAnalyzer/Core/ExprEngine.cpp

index 465af24..a388fc9 100644 (file)
@@ -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: