summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-26 21:52:32 +0000
committerChris Lattner <sabre@nondot.org>2010-06-26 21:52:32 +0000
commitfa20e95043d754afe785530803a24bd1dad76d5f (patch)
treee5537c65fa7095d2e880dc139f39c1efbfd393dc /clang/lib/CodeGen/CGExprScalar.cpp
parent0bf27620f0cd12ba436ae698645cce079611cfb2 (diff)
downloadbcm5719-llvm-fa20e95043d754afe785530803a24bd1dad76d5f.tar.gz
bcm5719-llvm-fa20e95043d754afe785530803a24bd1dad76d5f.zip
use more efficient type comparison predicates.
llvm-svn: 106958
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprScalar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp
index 773eb09bb61..c5bc320727a 100644
--- a/clang/lib/CodeGen/CGExprScalar.cpp
+++ b/clang/lib/CodeGen/CGExprScalar.cpp
@@ -1424,7 +1424,7 @@ Value *ScalarExprEmitter::EmitAdd(const BinOpInfo &Ops) {
return Builder.CreateAdd(Ops.LHS, Ops.RHS, "add");
}
- // Must have binary (not unary) expr here. Unary pointer increment doesn't
+ // Must have binary (not unary) expr here. Unary pointer decrement doesn't
// use this path.
const BinaryOperator *BinOp = cast<BinaryOperator>(Ops.E);
OpenPOWER on IntegriCloud