[cfe-commits] r94177 - in /cfe/trunk/lib/CodeGen: TargetInfo.cpp TargetInfo.h

Douglas Gregor dgregor at apple.com
Fri Jan 22 07:41:15 PST 2010


Author: dgregor
Date: Fri Jan 22 09:41:14 2010
New Revision: 94177

URL: http://llvm.org/viewvc/llvm-project?rev=94177&view=rev
Log:
Eliminate some Clang warnings

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp
    cfe/trunk/lib/CodeGen/TargetInfo.h

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=94177&r1=94176&r2=94177&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Fri Jan 22 09:41:14 2010
@@ -257,7 +257,7 @@
 
 class DefaultTargetCodeGenInfo : public TargetCodeGenInfo {
 public:
-  DefaultTargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {};
+  DefaultTargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {}
 };
 
 llvm::Value *DefaultABIInfo::EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
@@ -320,7 +320,7 @@
 class X86_32TargetCodeGenInfo : public TargetCodeGenInfo {
 public:
   X86_32TargetCodeGenInfo(ASTContext &Context, bool d, bool p)
-    :TargetCodeGenInfo(new X86_32ABIInfo(Context, d, p)) {};
+    :TargetCodeGenInfo(new X86_32ABIInfo(Context, d, p)) {}
 };
 
 }
@@ -619,7 +619,7 @@
 
 class X86_64TargetCodeGenInfo : public TargetCodeGenInfo {
 public:
-  X86_64TargetCodeGenInfo():TargetCodeGenInfo(new X86_64ABIInfo()) {};
+  X86_64TargetCodeGenInfo():TargetCodeGenInfo(new X86_64ABIInfo()) {}
 };
 
 }
@@ -1428,7 +1428,7 @@
 
 class PIC16TargetCodeGenInfo : public TargetCodeGenInfo {
 public:
-  PIC16TargetCodeGenInfo():TargetCodeGenInfo(new PIC16ABIInfo()) {};
+  PIC16TargetCodeGenInfo():TargetCodeGenInfo(new PIC16ABIInfo()) {}
 };
 
 }
@@ -1493,7 +1493,7 @@
 class ARMTargetCodeGenInfo : public TargetCodeGenInfo {
 public:
   ARMTargetCodeGenInfo(ARMABIInfo::ABIKind K)
-    :TargetCodeGenInfo(new ARMABIInfo(K)) {};
+    :TargetCodeGenInfo(new ARMABIInfo(K)) {}
 };
 
 }
@@ -1754,7 +1754,7 @@
 
 class SystemZTargetCodeGenInfo : public TargetCodeGenInfo {
 public:
-  SystemZTargetCodeGenInfo():TargetCodeGenInfo(new SystemZABIInfo()) {};
+  SystemZTargetCodeGenInfo():TargetCodeGenInfo(new SystemZABIInfo()) {}
 };
 
 }
@@ -1816,7 +1816,7 @@
 
 class MSP430TargetCodeGenInfo : public TargetCodeGenInfo {
 public:
-  MSP430TargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {};
+  MSP430TargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {}
   void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
                            CodeGen::CodeGenModule &M) const;
 };

Modified: cfe/trunk/lib/CodeGen/TargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.h?rev=94177&r1=94176&r2=94177&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.h (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.h Fri Jan 22 09:41:14 2010
@@ -34,7 +34,7 @@
     ABIInfo *Info;
   public:
     // WARNING: Acquires the ownership of ABIInfo.
-    TargetCodeGenInfo(ABIInfo *info = 0):Info(info) { };
+    TargetCodeGenInfo(ABIInfo *info = 0):Info(info) { }
     virtual ~TargetCodeGenInfo();
 
     /// getABIInfo() - Returns ABI info helper for the target.
@@ -43,7 +43,7 @@
     /// SetTargetAttributes - Provides a convenient hook to handle extra
     /// target-specific attributes for the given global.
     virtual void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
-                                     CodeGen::CodeGenModule &M) const { };
+                                     CodeGen::CodeGenModule &M) const { }
   };
 }
 





More information about the cfe-commits mailing list