[llvm] 688ac00 - IPO.h - replace SmallVector.h include with forward declaration. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 05:50:27 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-12T13:49:57+01:00
New Revision: 688ac00bb225d72a53ad3c77471363183a4f8b06

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

LOG: IPO.h - replace SmallVector.h include with forward declaration. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/IPO.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h
index 16ce81400019..ea9f50dcc616 100644
--- a/llvm/include/llvm/Transforms/IPO.h
+++ b/llvm/include/llvm/Transforms/IPO.h
@@ -14,7 +14,6 @@
 #ifndef LLVM_TRANSFORMS_IPO_H
 #define LLVM_TRANSFORMS_IPO_H
 
-#include "llvm/ADT/SmallVector.h"
 #include <functional>
 #include <vector>
 
@@ -29,6 +28,7 @@ class Function;
 class BasicBlock;
 class GlobalValue;
 class raw_ostream;
+template <typename T> class SmallVectorImpl;
 
 //===----------------------------------------------------------------------===//
 //


        


More information about the llvm-commits mailing list