[llvm-commits] [llvm] r42316 - in /llvm/trunk/lib/Target: ARM/ARMTargetAsmInfo.h Alpha/AlphaTargetAsmInfo.h IA64/IA64TargetAsmInfo.h Mips/MipsTargetAsmInfo.h PowerPC/PPCTargetAsmInfo.h Sparc/SparcTargetAsmInfo.h X86/X86TargetAsmInfo.h

Dan Gohman djg at cray.com
Tue Sep 25 13:27:06 PDT 2007


Author: djg
Date: Tue Sep 25 15:27:06 2007
New Revision: 42316

URL: http://llvm.org/viewvc/llvm-project?rev=42316&view=rev
Log:
More explicit keywords.

Modified:
    llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.h
    llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h
    llvm/trunk/lib/Target/IA64/IA64TargetAsmInfo.h
    llvm/trunk/lib/Target/Mips/MipsTargetAsmInfo.h
    llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.h
    llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.h
    llvm/trunk/lib/Target/X86/X86TargetAsmInfo.h

Modified: llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -23,7 +23,7 @@
   class ARMTargetMachine;
 
   struct ARMTargetAsmInfo : public TargetAsmInfo {
-    ARMTargetAsmInfo(const ARMTargetMachine &TM);
+    explicit ARMTargetAsmInfo(const ARMTargetMachine &TM);
 
     const ARMSubtarget *Subtarget;
 

Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -22,7 +22,7 @@
   class AlphaTargetMachine;
 
   struct AlphaTargetAsmInfo : public TargetAsmInfo {
-    AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
+    explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
   };
 
 } // namespace llvm

Modified: llvm/trunk/lib/Target/IA64/IA64TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/IA64/IA64TargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/IA64/IA64TargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/IA64/IA64TargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -22,7 +22,7 @@
   class IA64TargetMachine;
 
   struct IA64TargetAsmInfo : public TargetAsmInfo {
-    IA64TargetAsmInfo(const IA64TargetMachine &TM);
+    explicit IA64TargetAsmInfo(const IA64TargetMachine &TM);
   };
 
 

Modified: llvm/trunk/lib/Target/Mips/MipsTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsTargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/Mips/MipsTargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -22,7 +22,7 @@
   class MipsTargetMachine;
 
   struct MipsTargetAsmInfo : public TargetAsmInfo {
-    MipsTargetAsmInfo(const MipsTargetMachine &TM);
+    explicit MipsTargetAsmInfo(const MipsTargetMachine &TM);
   };
 
 } // namespace llvm

Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -22,15 +22,15 @@
   class PPCTargetMachine;
   
   struct PPCTargetAsmInfo : public TargetAsmInfo {
-    PPCTargetAsmInfo(const PPCTargetMachine &TM);
+    explicit PPCTargetAsmInfo(const PPCTargetMachine &TM);
   };
 
   struct DarwinTargetAsmInfo : public PPCTargetAsmInfo {
-    DarwinTargetAsmInfo(const PPCTargetMachine &TM);
+    explicit DarwinTargetAsmInfo(const PPCTargetMachine &TM);
   };
 
   struct LinuxTargetAsmInfo : public PPCTargetAsmInfo {
-    LinuxTargetAsmInfo(const PPCTargetMachine &TM);
+    explicit LinuxTargetAsmInfo(const PPCTargetMachine &TM);
   };
 
 } // namespace llvm

Modified: llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -22,7 +22,7 @@
   class SparcTargetMachine;
 
   struct SparcTargetAsmInfo : public TargetAsmInfo {
-    SparcTargetAsmInfo(const SparcTargetMachine &TM);
+    explicit SparcTargetAsmInfo(const SparcTargetMachine &TM);
   };
 
 

Modified: llvm/trunk/lib/Target/X86/X86TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetAsmInfo.h?rev=42316&r1=42315&r2=42316&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/X86/X86TargetAsmInfo.h Tue Sep 25 15:27:06 2007
@@ -22,7 +22,7 @@
   class X86TargetMachine;
 
   struct X86TargetAsmInfo : public TargetAsmInfo {
-    X86TargetAsmInfo(const X86TargetMachine &TM);
+    explicit X86TargetAsmInfo(const X86TargetMachine &TM);
     
     virtual bool ExpandInlineAsm(CallInst *CI) const;
   private:





More information about the llvm-commits mailing list