From 242ec252f420c3bc4248fe79c9fb45f092d7f544 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 14 May 2016 01:21:40 +0000 Subject: [PATCH] Fix some typos. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269528 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInfo.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 6016d28095..0d7d9a7de4 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -519,10 +519,10 @@ Address EmitVAArgInstr(CodeGenFunction &CGF, Address VAListAddr, QualType Ty, if (AI.isIndirect()) { assert(!AI.getPaddingType() && - "Unepxected PaddingType seen in arginfo in generic VAArg emitter!"); + "Unexpected PaddingType seen in arginfo in generic VAArg emitter!"); assert( !AI.getIndirectRealign() && - "Unepxected IndirectRealign seen in arginfo in generic VAArg emitter!"); + "Unexpected IndirectRealign seen in arginfo in generic VAArg emitter!"); auto TyInfo = CGF.getContext().getTypeInfoInChars(Ty); CharUnits TyAlignForABI = TyInfo.second; @@ -537,13 +537,13 @@ Address EmitVAArgInstr(CodeGenFunction &CGF, Address VAListAddr, QualType Ty, "Unexpected ArgInfo Kind in generic VAArg emitter!"); assert(!AI.getInReg() && - "Unepxected InReg seen in arginfo in generic VAArg emitter!"); + "Unexpected InReg seen in arginfo in generic VAArg emitter!"); assert(!AI.getPaddingType() && - "Unepxected PaddingType seen in arginfo in generic VAArg emitter!"); + "Unexpected PaddingType seen in arginfo in generic VAArg emitter!"); assert(!AI.getDirectOffset() && - "Unepxected DirectOffset seen in arginfo in generic VAArg emitter!"); + "Unexpected DirectOffset seen in arginfo in generic VAArg emitter!"); assert(!AI.getCoerceToType() && - "Unepxected CoerceToType seen in arginfo in generic VAArg emitter!"); + "Unexpected CoerceToType seen in arginfo in generic VAArg emitter!"); Address Temp = CGF.CreateMemTemp(Ty, "varet"); Val = CGF.Builder.CreateVAArg(VAListAddr.getPointer(), CGF.ConvertType(Ty)); @@ -633,7 +633,7 @@ private: ABIArgInfo classifyArgumentType(QualType Ty) const; // DefaultABIInfo's classifyReturnType and classifyArgumentType are - // non-virtual, but computeInfo and EmitVAArg is virtual, so we + // non-virtual, but computeInfo and EmitVAArg are virtual, so we // overload them. void computeInfo(CGFunctionInfo &FI) const override { if (!getCXXABI().classifyReturnType(FI)) -- 2.40.0