On Thu, Oct 18, 2012 at 5:06 AM, Richard Membarth <richard.memba...@informatik.uni-erlangen.de> wrote: > Attached is a patch that fixes pretty-printing of decl stmt groups. > > The example below shows that the current type pretty-printer does > not print the variable name if Policy.SuppressSpecifiers is set. > > ~ > cat test.cc > int main(int argc, const char **argv) { > int x=0, y=5; > for (int i=x, j=y; i<j; i++) { > ; > } > } > > ~ > clang -cc1 -ast-print test.cc > int main(int argc, const char **argv) { > int x = 0, = 5; > for (int i = x, = y; i < j; i++) { > ; > } > } > > Please let me know if this is ok.
I committed a different fix in r166227. -Eli _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits