Pass.h - replace StringRef.h include with forward declaration. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 12 Apr 2020 12:36:20 +0000 (13:36 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 12 Apr 2020 12:36:20 +0000 (13:36 +0100)
llvm/include/llvm/Pass.h

index 4941984..5ed4ca4 100644 (file)
@@ -28,7 +28,6 @@
 #ifndef LLVM_PASS_H
 #define LLVM_PASS_H
 
-#include "llvm/ADT/StringRef.h"
 #include <string>
 
 namespace llvm {
@@ -43,6 +42,7 @@ class PassInfo;
 class PMDataManager;
 class PMStack;
 class raw_ostream;
+class StringRef;
 
 // AnalysisID - Use the PassInfo to identify a pass...
 using AnalysisID = const void *;