On Wed, Jan 27, 2016 at 9:08 AM, Richard Smith <rich...@metafoo.co.uk> wrote: > What's the benefit of storing this? You can get the same effect by > re-lexing. We don't guarantee that the pretty printed version of the AST > comprises the same sequence of tokens in general.
So we don't lose information the user wrote. For instance, this can be used by http://reviews.llvm.org/D16529 or other clang-tidy checks. ~Aaron > > On 27 Jan 2016 3:03 p.m., "Aaron Ballman via cfe-commits" > <cfe-commits@lists.llvm.org> wrote: >> >> aaron.ballman added a comment. >> >> In http://reviews.llvm.org/D16012#331219, @aaron.ballman wrote: >> >> > Ping >> >> >> Ping >> >> >> http://reviews.llvm.org/D16012 >> >> >> >> _______________________________________________ >> cfe-commits mailing list >> cfe-commits@lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits