[clang] bc172e5 - [clang][StaticAnalyzer] Compilation fix.

Michael Kruse via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 4 21:24:46 PST 2021


Author: Michael Kruse
Date: 2021-03-04T23:23:58-06:00
New Revision: bc172e532a89754d47fef1306064a26a4dc0a76b

URL: https://github.com/llvm/llvm-project/commit/bc172e532a89754d47fef1306064a26a4dc0a76b
DIFF: https://github.com/llvm/llvm-project/commit/bc172e532a89754d47fef1306064a26a4dc0a76b.diff

LOG: [clang][StaticAnalyzer] Compilation fix.

An enum was unhandled after landing of D94973. Add the new
OMPCanonicalLoopClass to the list of unhandled cases.

Added: 
    

Modified: 
    clang/lib/StaticAnalyzer/Core/ExprEngine.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index 465af24b2899..a388fc9e6e26 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:


        


More information about the cfe-commits mailing list