[llvm-branch-commits] [llvm] 24d6e60 - [Analysis] Remove unused system header includes
Simon Pilgrim via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Nov 22 02:37:13 PST 2020
Author: Simon Pilgrim
Date: 2020-11-22T10:32:37Z
New Revision: 24d6e60488a2f447df27a4f67a960925deceeb6b
URL: https://github.com/llvm/llvm-project/commit/24d6e60488a2f447df27a4f67a960925deceeb6b
DIFF: https://github.com/llvm/llvm-project/commit/24d6e60488a2f447df27a4f67a960925deceeb6b.diff
LOG: [Analysis] Remove unused system header includes
Cleanup unused system headers and fix an implicit dependency
Added:
Modified:
llvm/lib/Analysis/DivergenceAnalysis.cpp
llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/DivergenceAnalysis.cpp b/llvm/lib/Analysis/DivergenceAnalysis.cpp
index d01a0b95612c..c10971dab95c 100644
--- a/llvm/lib/Analysis/DivergenceAnalysis.cpp
+++ b/llvm/lib/Analysis/DivergenceAnalysis.cpp
@@ -84,7 +84,6 @@
#include "llvm/IR/Value.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
-#include <vector>
using namespace llvm;
diff --git a/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp b/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
index c32aa0340ceb..b112ed2e4439 100644
--- a/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
+++ b/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
@@ -22,9 +22,7 @@
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
-#include <string>
-#include <utility>
-#include <vector>
+#include <memory>
using namespace llvm;
More information about the llvm-branch-commits
mailing list