summaryrefslogtreecommitdiffstats
path: root/clang/test/Tooling/clang-diff-ast.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-diff] Treat CXXCtorInitializer as a nodeJohannes Altmanninger2017-08-271-5/+11
| | | | | | | | | | Reviewers: arphaman Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D37002 llvm-svn: 311865
* [clang-diff] Use the relative name for NamedDeclJohannes Altmanninger2017-08-221-6/+6
| | | | | | | | | | | | | | Summary: If a node referring to a name is within a class or namespace, do not use the full qualified name, but strip the namespace prefix. Reviewers: arphaman, bkramer Subscribers: klimek Differential Revision: https://reviews.llvm.org/D36681 llvm-svn: 311433
* Allow thiscall attribute in test/Tooling/clang-diff-ast.cppJohannes Altmanninger2017-08-201-1/+1
| | | | llvm-svn: 311301
* [clang-diff] Improve and test getNodeValueJohannes Altmanninger2017-08-201-7/+21
| | | | | | | | | | | | Summary: Use qualified names if available. Reviewers: arphaman Subscribers: klimek Differential Revision: https://reviews.llvm.org/D36186 llvm-svn: 311292
* [clang-diff] Filter AST nodesJohannes Altmanninger2017-08-201-1/+23
| | | | | | | | | | | | | | Summary: Ignore macros and implicit AST nodes, as well as anything outside of the main source file. Reviewers: arphaman Subscribers: klimek Differential Revision: https://reviews.llvm.org/D36184 llvm-svn: 311280
* clang/test/Tooling/clang-diff-ast.cpp: Satisfy thiscall.NAKAMURA Takumi2017-08-201-1/+1
| | | | | | | | | | | | | | clang/test/Tooling/clang-diff-ast.cpp:45:12: error: expected string not found in input // CHECK: CXXConstructorDecl: X(void (char, int)) ^ <stdin>:43:25: note: scanning from here AccessSpecDecl: public(42) ^ <stdin>:44:2: note: possible intended match here CXXConstructorDecl: X(void (char, int) __attribute__((thiscall)))(43) ^ llvm-svn: 311270
* [clang-diff] Fix testJohannes Altmanninger2017-08-191-1/+1
| | | | llvm-svn: 311233
* [clang-diff] Add option to dump the AST, one node per lineJohannes Altmanninger2017-08-191-0/+50
Summary: This is done with -ast-dump; the JSON variant has been renamed to -ast-dump-json. Reviewers: arphaman Differential Revision: https://reviews.llvm.org/D36180 llvm-svn: 311232
OpenPOWER on IntegriCloud