summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-expr-json.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Augment location information when dumping the AST to JSON.Aaron Ballman2019-06-241-1558/+910
| | | | | | Rather than create JSON objects for source locations and ranges, we instead stream them out directly. This allows us to elide duplicate information (without JSON field reordering causing an issue) like file names and line numbers, similar to the text dump. This also adds token length information when dumping the source location. llvm-svn: 364226
* Add an automated note to files produced by gen_ast_dump_json_test.py.Aaron Ballman2019-06-211-0/+2
| | | | | | This also details what filters, if any, were used to generate the test output. Updates all the current JSON testing files to include the automated note. llvm-svn: 364055
* Dump more information about construct expressions (resolved and unresolved) ↵Aaron Ballman2019-06-201-4/+54
| | | | | | when dumping the AST to JSON. llvm-svn: 363926
* Change the way we output templates for JSON AST dumping and dump information ↵Aaron Ballman2019-06-191-44/+40
| | | | | | | | about template arguments. Previously, we attempted to write out template parameters and specializations to their own array, but due to the architecture of the ASTNodeTraverser, this meant that other nodes were not being written out. This now follows the same behavior as the regular AST dumper and puts all the (correct) information into the "inner" array. When we correct the AST node traverser itself, we can revisit splitting this information into separate arrays again. llvm-svn: 363819
* For DR712: store on a DeclRefExpr whether it constitutes an odr-use.Richard Smith2019-06-111-2/+4
| | | | | | | Begin restructuring to support the forms of non-odr-use reference permitted by DR712. llvm-svn: 363086
* Factor out commonality between variable capture initialization andRichard Smith2019-06-021-17/+39
| | | | | | 'this' capture initialization. llvm-svn: 362317
* Defer building 'this' captures until we have left the capturing regionRichard Smith2019-05-311-4/+2
| | | | | | | | | | and returned to the context in which 'this' should be captured. This means we now always mark 'this' referenced from the context in which it's actually referenced, rather than potentially from some context nested within that. llvm-svn: 362182
* Fix r361893 to also update a recently-added test.Richard Smith2019-05-281-163/+163
| | | | llvm-svn: 361895
* When dumping the AST to JSON, dump the type information from a typeid ↵Aaron Ballman2019-05-271-2/+11
| | | | | | expression with a type operand. llvm-svn: 361769
* When dumping the AST to JSON, dump whether a function is variadic or not.Aaron Ballman2019-05-271-0/+2
| | | | llvm-svn: 361768
* When dumping the AST to JSON, dump the declared name of a MemberExpr operand.Aaron Ballman2019-05-271-0/+9
| | | | llvm-svn: 361767
* When dumping the AST to JSON, dump the argument name to a sizeof pack ↵Aaron Ballman2019-05-271-1/+2
| | | | | | expression. llvm-svn: 361766
* Add test cases for dumping AST expression nodes to JSON; NFC.Aaron Ballman2019-05-271-0/+8992
llvm-svn: 361764
OpenPOWER on IntegriCloud