commit | 0a74a4ccc4ecfe1a2792ab72c83815323d8fc914 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue May 21 05:24:00 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue May 21 05:24:00 2013 +0000 |
tree | fb982367ac7314dffff90f8ae6f5fa2da4027180 | |
parent | e86ee1a213d244bb66b7eef3e9ab2266908cf4af [diff] |
In -ast-dump, only dump comments when dumping the actual Decl to which they attach, rather than merging all comments on the declaration chain. This gives a more faithful dump, and has the side benefit of unbreaking uses of dump() from within AST deserialization (where the redeclaration chain may not be sane). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182350 91177308-0d34-0410-b5e6-96231b3b80d8