[llvm] 3caa03e - AliasAnalysisSummary.h - cleanup includes and forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 21 03:41:51 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-21T11:32:58+01:00
New Revision: 3caa03ec510d77cfc1bbb00b22d72d499183f6c6
URL: https://github.com/llvm/llvm-project/commit/3caa03ec510d77cfc1bbb00b22d72d499183f6c6
DIFF: https://github.com/llvm/llvm-project/commit/3caa03ec510d77cfc1bbb00b22d72d499183f6c6.diff
LOG: AliasAnalysisSummary.h - cleanup includes and forward declarations. NFC.
Push InstrTypes.h include down to AliasAnalysisSummary.cpp
Added:
Modified:
llvm/lib/Analysis/AliasAnalysisSummary.cpp
llvm/lib/Analysis/AliasAnalysisSummary.h
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/AliasAnalysisSummary.cpp b/llvm/lib/Analysis/AliasAnalysisSummary.cpp
index 2f3396a44117..d9c5732da1f3 100644
--- a/llvm/lib/Analysis/AliasAnalysisSummary.cpp
+++ b/llvm/lib/Analysis/AliasAnalysisSummary.cpp
@@ -1,5 +1,6 @@
#include "AliasAnalysisSummary.h"
#include "llvm/IR/Argument.h"
+#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/Type.h"
#include "llvm/Support/Compiler.h"
diff --git a/llvm/lib/Analysis/AliasAnalysisSummary.h b/llvm/lib/Analysis/AliasAnalysisSummary.h
index fe75b03cedef..10d49f9c0113 100644
--- a/llvm/lib/Analysis/AliasAnalysisSummary.h
+++ b/llvm/lib/Analysis/AliasAnalysisSummary.h
@@ -37,10 +37,13 @@
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
-#include "llvm/IR/InstrTypes.h"
#include <bitset>
namespace llvm {
+
+class CallBase;
+class Value;
+
namespace cflaa {
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list