aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-08-28 13:52:51 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-08-28 13:52:51 +0000
commitae2777cfe7d21f73e5a4155082fe20197cec62bd (patch)
tree6ab547580a827ccf6e740c9e5f125ccfea7c009d
parent4d99a3da7ef08be34131b60b91f16adb3bc5f001 (diff)
Fix copy+paste error in comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112370 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index 9ec1451e76..2562456924 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -2429,7 +2429,7 @@ public:
return cast<Expr>(SubExprs[LHS] ? SubExprs[LHS] : SubExprs[COND]);
}
- // getTrueExpr - Return the subexpression representing the value of the ?:
+ // getFalseExpr - Return the subexpression representing the value of the ?:
// expression if the condition evaluates to false. This is the same as getRHS.
Expr *getFalseExpr() const { return cast<Expr>(SubExprs[RHS]); }