[llvm] c4246e6 - LanaiInstPrinter.h - replace unnecessary StringRef include with forward declaration
    Simon Pilgrim via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb  3 07:12:59 PST 2022
    
    
  
Author: Simon Pilgrim
Date: 2022-02-03T15:02:42Z
New Revision: c4246e6a4d2794e9b35fbc05dfe2ecb31943af4d
URL: https://github.com/llvm/llvm-project/commit/c4246e6a4d2794e9b35fbc05dfe2ecb31943af4d
DIFF: https://github.com/llvm/llvm-project/commit/c4246e6a4d2794e9b35fbc05dfe2ecb31943af4d.diff
LOG: LanaiInstPrinter.h - replace unnecessary StringRef include with forward declaration
Added: 
    
Modified: 
    llvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h
Removed: 
    
################################################################################
diff  --git a/llvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h b/llvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h
index f0d287c858d8..ff17ac9788a6 100644
--- a/llvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h
+++ b/llvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h
@@ -13,10 +13,10 @@
 #ifndef LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIINSTPRINTER_H
 #define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIINSTPRINTER_H
 
-#include "llvm/ADT/StringRef.h"
 #include "llvm/MC/MCInstPrinter.h"
 
 namespace llvm {
+class StringRef;
 
 class LanaiInstPrinter : public MCInstPrinter {
 public:
        
    
    
More information about the llvm-commits
mailing list