]> granicus.if.org Git - clang/commitdiff
Fix copy+paste error in comment.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 28 Aug 2010 13:52:51 +0000 (13:52 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 28 Aug 2010 13:52:51 +0000 (13:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112370 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 9ec1451e76e65a6452f40f32d0e1b593bdda053b..25624569240e39de177c58f227c118d1f9c4c220 100644 (file)
@@ -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]); }