[llvm] 3d219d8 - Add missing include under EXPENSIVE_CHECKS

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 12 09:55:24 PST 2022


Author: serge-sans-paille
Date: 2022-03-12T18:54:29+01:00
New Revision: 3d219d805c299b8245c0192ca5b4c97021b67613

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

LOG: Add missing include under EXPENSIVE_CHECKS

Added: 
    

Modified: 
    llvm/lib/Analysis/LazyCallGraph.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/LazyCallGraph.cpp b/llvm/lib/Analysis/LazyCallGraph.cpp
index 88ea53cfec1ae..20a905e04a9d0 100644
--- a/llvm/lib/Analysis/LazyCallGraph.cpp
+++ b/llvm/lib/Analysis/LazyCallGraph.cpp
@@ -34,6 +34,10 @@
 #include <tuple>
 #include <utility>
 
+#ifdef EXPENSIVE_CHECKS
+#include "llvm/ADT/ScopeExit.h"
+#endif
+
 using namespace llvm;
 
 #define DEBUG_TYPE "lcg"


        


More information about the llvm-commits mailing list