[cfe-dev] wrong comment?

Zhongxing Xu xuzhongxing at gmail.com
Tue Apr 6 19:16:06 PDT 2010


Index: include/clang/AST/Expr.h
===================================================================
--- include/clang/AST/Expr.h    (版本 100519)
+++ include/clang/AST/Expr.h    (工作副本)
@@ -2362,7 +2362,7 @@
   virtual child_iterator child_end();
 };

-/// VAArgExpr, used for the builtin function __builtin_va_start.
+/// VAArgExpr, used for the builtin function __builtin_va_arg.
 class VAArgExpr : public Expr {
   Stmt *Val;
   SourceLocation BuiltinLoc, RParenLoc;
@@ -2373,7 +2373,7 @@
       BuiltinLoc(BLoc),
       RParenLoc(RPLoc) { }

-  /// \brief Create an empty __builtin_va_start expression.
+  /// \brief Create an empty __builtin_va_arg expression.
   explicit VAArgExpr(EmptyShell Empty) : Expr(VAArgExprClass, Empty) { }

   const Expr *getSubExpr() const { return cast<Expr>(Val); }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100407/9ad27ae8/attachment.html>


More information about the cfe-dev mailing list