Re: [cfe-dev] Dumping AST information to other formats

2018-11-29 Thread George Karpenkov via cfe-commits
Hi Aaron, You might find useful the recent work we have done on stable identifiers for AST: now Stmt and Decl classes have a “getID” method, which returns an identifier stable across different runs (at least on the same architecture, probably not the same for different ones). George > On Nov 2

Re: [cfe-dev] Dumping AST information to other formats

2018-11-26 Thread Aaron Ballman via cfe-commits
dumps the AST out to a file in order to pick the proper AST dumping interface. ~Aaron > > -Original Message- > From: cfe-dev [mailto:cfe-dev-boun...@lists.llvm.org] On Behalf Of Aaron > Ballman via cfe-dev > Sent: Monday, November 26, 2018 11:20 AM > To: cfe-dev ; cfe-commits >

RE: [cfe-dev] Dumping AST information to other formats

2018-11-26 Thread Keane, Erich via cfe-commits
26, 2018 11:20 AM To: cfe-dev ; cfe-commits Cc: Eric Schulte Subject: [cfe-dev] Dumping AST information to other formats Clang currently supports various -cc1 options that allow displaying AST information (-ast-dump, -ast-print, -ast-list, etc), but these options are not convenient to consume