[cfe-dev] wrong comment?

Chris Lattner clattner at apple.com
Tue Apr 6 20:34:00 PDT 2010


Yep, please commit!

On Apr 6, 2010, at 7:16 PM, Zhongxing Xu wrote:

> 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); }
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list