]> granicus.if.org Git - clang/commitdiff
clang/lib/CodeGen/TargetInfo.cpp: Fix a couple of warnings. [-Winconsistent-missing...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 1 Nov 2014 01:32:27 +0000 (01:32 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 1 Nov 2014 01:32:27 +0000 (01:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221039 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

index c776db61049a5d75dad093342058b5489034426d..70348c5350a50b2c73b38055bf2a6b7e3f355fde 100644 (file)
@@ -3714,7 +3714,7 @@ private:
 
   bool isIllegalVectorType(QualType Ty) const;
 
-  virtual void computeInfo(CGFunctionInfo &FI) const {
+  virtual void computeInfo(CGFunctionInfo &FI) const override {
     // To correctly handle Homogeneous Aggregate, we need to keep track of the
     // number of SIMD and Floating-point registers allocated so far.
     // If the argument is an HFA or an HVA and there are sufficient unallocated
@@ -3786,7 +3786,7 @@ private:
                               CodeGenFunction &CGF) const;
 
   virtual llvm::Value *EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
-                                 CodeGenFunction &CGF) const {
+                                 CodeGenFunction &CGF) const override {
     return isDarwinPCS() ? EmitDarwinVAArg(VAListAddr, Ty, CGF)
                          : EmitAAPCSVAArg(VAListAddr, Ty, CGF);
   }