summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-01-05 23:59:40 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-01-05 23:59:40 +0000
commitb1bc368ca7950eddd7fd3da69050ac260bd68dcf (patch)
treeac328ccae220cb5b33d4dc76a2b7add73d0b532d /clang/lib/CodeGen/CGExprConstant.cpp
parent5ab9c0a9270d34b8f7b2eee600b47a62dadf82c0 (diff)
downloadbcm5719-llvm-b1bc368ca7950eddd7fd3da69050ac260bd68dcf.tar.gz
bcm5719-llvm-b1bc368ca7950eddd7fd3da69050ac260bd68dcf.zip
Address Richard's review comments on r147561 (Evaluate support for address-of-label differences).
llvm-svn: 147631
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprConstant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp
index 2c151328c7a..826a950148a 100644
--- a/clang/lib/CodeGen/CGExprConstant.cpp
+++ b/clang/lib/CodeGen/CGExprConstant.cpp
@@ -1034,7 +1034,7 @@ llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E,
RHS = llvm::ConstantExpr::getPtrToInt(RHS, IntPtrTy);
llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS);
- // LLVM os a bit sensitive about the exact format of the
+ // LLVM is a bit sensitive about the exact format of the
// address-of-label difference; make sure to truncate after
// the subtraction.
return llvm::ConstantExpr::getTruncOrBitCast(AddrLabelDiff, ResultType);
OpenPOWER on IntegriCloud