[llvm] eeaca53 - Add missing include under EXPENSIVE_CHECK
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 12:00:51 PST 2022
Author: serge-sans-paille
Date: 2022-03-01T21:00:06+01:00
New Revision: eeaca53df7a030862bd1160950a6264aeb605cc6
URL: https://github.com/llvm/llvm-project/commit/eeaca53df7a030862bd1160950a6264aeb605cc6
DIFF: https://github.com/llvm/llvm-project/commit/eeaca53df7a030862bd1160950a6264aeb605cc6.diff
LOG: Add missing include under EXPENSIVE_CHECK
This is a followup to 344f8ec3048b6eeef94569800acb012f794ad372
It should fix
https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/21961/console
Added:
Modified:
llvm/lib/Analysis/LazyCallGraph.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/LazyCallGraph.cpp b/llvm/lib/Analysis/LazyCallGraph.cpp
index 381af584a3afd..6499243a99b13 100644
--- a/llvm/lib/Analysis/LazyCallGraph.cpp
+++ b/llvm/lib/Analysis/LazyCallGraph.cpp
@@ -35,6 +35,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