[cfe-dev] [PATCH] Avoid redundant NNS qualification in constructor/destructor names.
abramo.bagnara at gmail.com
Fri Jan 27 00:50:56 PST 2012
Il 13/01/2012 15:35, Enea Zaffanella ha scritto:
> Please find attached a patch that improves AST representation by
> removing redundant name qualifications from C++ constructor/destructor
> names used inside Decl and/or Expr nodes.
> The rationale of the patch is that the mentioned name qualifications
> really belong to the enclosing Decl/Expr nodes and should not be
> replicated in the ctor/dtor name itself.
> As the patch is only affecting the syntactic aspects of the AST
> representation, its application affects no existing testcase.
> In order to see the effects of the patch, one can compare the output
> obtained by clang using command
> $ clang -cc1 -ast-print ctor-dtor-name.cc
More information about the cfe-dev