[llvm] 96e1ba1 - PseudoSourceValue.h - remove unused operator declaration. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 05:01:25 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-20T13:01:01+01:00
New Revision: 96e1ba10e33c80502d5d9fbcc94d1cb8107a1e7b

URL: https://github.com/llvm/llvm-project/commit/96e1ba10e33c80502d5d9fbcc94d1cb8107a1e7b
DIFF: https://github.com/llvm/llvm-project/commit/96e1ba10e33c80502d5d9fbcc94d1cb8107a1e7b.diff

LOG: PseudoSourceValue.h - remove unused operator declaration. NFC.

MSVC was warning that the definition for the MachineMemOperand stream handler doesn't exist.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/PseudoSourceValue.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/PseudoSourceValue.h b/llvm/include/llvm/CodeGen/PseudoSourceValue.h
index 593a865ea545..50fde9c2424f 100644
--- a/llvm/include/llvm/CodeGen/PseudoSourceValue.h
+++ b/llvm/include/llvm/CodeGen/PseudoSourceValue.h
@@ -23,11 +23,10 @@ namespace llvm {
 class MachineFrameInfo;
 class MachineMemOperand;
 class MIRFormatter;
+class PseudoSourceValue;
 class raw_ostream;
 class TargetInstrInfo;
 
-raw_ostream &operator<<(raw_ostream &OS, const MachineMemOperand &MMO);
-class PseudoSourceValue;
 raw_ostream &operator<<(raw_ostream &OS, const PseudoSourceValue* PSV);
 
 /// Special value supplied for machine level alias analysis. It indicates that


        


More information about the llvm-commits mailing list