From: NAKAMURA Takumi Date: Sat, 1 Nov 2014 01:32:27 +0000 (+0000) Subject: clang/lib/CodeGen/TargetInfo.cpp: Fix a couple of warnings. [-Winconsistent-missing... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=903e9aaa6bebf20eed141d90c1581a86eb011a10;p=clang clang/lib/CodeGen/TargetInfo.cpp: Fix a couple of warnings. [-Winconsistent-missing-override] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221039 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index c776db6104..70348c5350 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -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); }