From: Simon Pilgrim Date: Sun, 12 Apr 2020 12:36:20 +0000 (+0100) Subject: Pass.h - replace StringRef.h include with forward declaration. NFC. X-Git-Tag: llvmorg-12-init~9279 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d02bc5e15068fd11edf2739503561dead918784b;p=platform%2Fupstream%2Fllvm.git Pass.h - replace StringRef.h include with forward declaration. NFC. --- diff --git a/llvm/include/llvm/Pass.h b/llvm/include/llvm/Pass.h index 4941984..5ed4ca4 100644 --- a/llvm/include/llvm/Pass.h +++ b/llvm/include/llvm/Pass.h @@ -28,7 +28,6 @@ #ifndef LLVM_PASS_H #define LLVM_PASS_H -#include "llvm/ADT/StringRef.h" #include 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 *;