summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-05-14 01:21:40 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-05-14 01:21:40 +0000
commit81ef0e1adbdb457113623b6469844ae6616bb5e5 (patch)
treecb9d26f6ea08f7fa9e6aeaa56c5759cb190437aa /clang/lib/CodeGen
parentb1d4e18dfc90898dd967ea7d7bcd99415b5af5bd (diff)
downloadbcm5719-llvm-81ef0e1adbdb457113623b6469844ae6616bb5e5.tar.gz
bcm5719-llvm-81ef0e1adbdb457113623b6469844ae6616bb5e5.zip
Fix some typos.
llvm-svn: 269528
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index 6016d28095a..0d7d9a7de44 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/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))
OpenPOWER on IntegriCloud