#
27c7a9b1 |
| 15-Oct-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Add more information to JSON AST dumping of source locations.
This adds information about the offset within the source file to the given source location as well as information about the include file
Add more information to JSON AST dumping of source locations.
This adds information about the offset within the source file to the given source location as well as information about the include file a location is from. These pieces of information allow for more efficient post-processing of JSON AST dumps.
llvm-svn: 374921
show more ...
|
#
1cd399c9 |
| 03-Oct-2019 |
Simon Pilgrim <llvm-dev@redking.me.uk> |
Silence static analyzer getAs<RecordType> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in these cases we should be able to use castAs<Record
Silence static analyzer getAs<RecordType> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in these cases we should be able to use castAs<RecordType> directly and if not assert will fire for us.
llvm-svn: 373584
show more ...
|
#
350de4f0 |
| 24-Sep-2019 |
Adrian Prantl <aprantl@apple.com> |
Support for DWARF-5 C++ language tags.
This patch provides support for DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14 tags in the Clang C++ frontend.
Patch by Sourabh Singh Tomar! Differential Revi
Support for DWARF-5 C++ language tags.
This patch provides support for DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14 tags in the Clang C++ frontend.
Patch by Sourabh Singh Tomar! Differential Revision: https://reviews.llvm.org/D67613
Reapplies r372663 after adapting a failing test in the LLDB testsuite.
llvm-svn: 372681
show more ...
|
#
5c49c267 |
| 23-Sep-2019 |
Jonas Devlieghere <jonas@devlieghere.com> |
Revert "Support for DWARF-5 C++ language tags."
This reverts commit bf9c8ffb54943c6d77398adbedddf05ef9724007.
llvm-svn: 372672
|
#
bf9c8ffb |
| 23-Sep-2019 |
Adrian Prantl <aprantl@apple.com> |
Support for DWARF-5 C++ language tags.
This patch provides support for DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14 tags in the Clang C++ frontend.
Patch by Sourabh Singh Tomar! Differential Revi
Support for DWARF-5 C++ language tags.
This patch provides support for DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14 tags in the Clang C++ frontend.
Patch by Sourabh Singh Tomar! Differential Revision: https://reviews.llvm.org/D67613
llvm-svn: 372663
show more ...
|
Revision tags: llvmorg-9.0.0, llvmorg-9.0.0-rc6, llvmorg-9.0.0-rc5, llvmorg-9.0.0-rc4 |
|
#
40e37604 |
| 04-Sep-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Generate parent context id from Decl* instead of DeclContext*.
Because of multiple inheritance, a DeclContext pointer does not produce the same pointer representation as a Decl pointer that referenc
Generate parent context id from Decl* instead of DeclContext*.
Because of multiple inheritance, a DeclContext pointer does not produce the same pointer representation as a Decl pointer that references the same AST Node.
When dumping the parentDeclContextId field of a node, convert the pointer to Decl* first, so the id can be used to find the AST node it references.
Patch by Bert Belder.
llvm-svn: 370970
show more ...
|
Revision tags: llvmorg-9.0.0-rc3 |
|
#
17556172 |
| 29-Aug-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Avoid crash when dumping NULL Type as JSON.
Patch by Bert Belder.
llvm-svn: 370401
|
Revision tags: llvmorg-9.0.0-rc2 |
|
#
d5e206ee |
| 30-Jul-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Add typedef declaration information to the JSON AST dump.
When dumping a desugared QualType and the type is a type alias, also print out the id for the type alias declaration.
llvm-svn: 367312
|
Revision tags: llvmorg-9.0.0-rc1, llvmorg-10-init |
|
#
352f0a22 |
| 12-Jul-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Dump actual line numbers when dumping the AST to JSON.
The "line" attribute is now the physical line within the source file for the location. A "presumedLine" attribute is printed when the presumed
Dump actual line numbers when dumping the AST to JSON.
The "line" attribute is now the physical line within the source file for the location. A "presumedLine" attribute is printed when the presumed line number does not match the given source line number. We continue to not print repeated line information in subsequent source locations, but we track presumed and actual lines separately.
llvm-svn: 365919
show more ...
|
#
4d08f899 |
| 12-Jul-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Dump floating-point values as strings when dumping to JSON.
This fixes a bug where we would have an invalid JSON attribute (e.g., "value": inf). It also increases the precision of the values because
Dump floating-point values as strings when dumping to JSON.
This fixes a bug where we would have an invalid JSON attribute (e.g., "value": inf). It also increases the precision of the values because they're not represented as approximate doubles with the host architecture's floating-point model.
llvm-svn: 365900
show more ...
|
Revision tags: llvmorg-8.0.1, llvmorg-8.0.1-rc4, llvmorg-8.0.1-rc3 |
|
#
a612e34c |
| 24-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Augment location information when dumping the AST to JSON.
Rather than create JSON objects for source locations and ranges, we instead stream them out directly. This allows us to elide duplicate inf
Augment location information when dumping the AST to JSON.
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
show more ...
|
#
4c9def4a |
| 21-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Ensure that top-level QualType objects also have a "kind" field when dumping the AST to JSON.
llvm-svn: 364078
|
#
104b1298 |
| 21-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print more type node information when dumping the AST to JSON.
llvm-svn: 364067
|
#
c07cfce2 |
| 21-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print information about various type nodes when dumping the AST to JSON.
llvm-svn: 364043
|
#
75e23f85 |
| 20-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print information about various ObjC expression nodes when dumping the AST to JSON.
llvm-svn: 363988
|
#
7f1b223a |
| 20-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print additional information about @encode expressions when dumping the AST to JSON.
llvm-svn: 363966
|
#
7dbb3a8f |
| 20-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print additional information on dependent scopes when dumping the AST to JSON.
llvm-svn: 363965
|
#
1fffe8d6 |
| 20-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Dump more information about expressions involving temporaries when dumping the AST to JSON.
llvm-svn: 363943
|
#
d91b1edf |
| 20-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Dump more information about construct expressions (resolved and unresolved) when dumping the AST to JSON.
llvm-svn: 363926
|
#
07e6da93 |
| 19-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print whether a generic selection expression is result dependent when dumping the AST to JSON.
llvm-svn: 363873
|
#
709a769c |
| 19-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Print out the union field being initialized by an InitListExpr when dumping the AST to JSON.
llvm-svn: 363869
|
#
91f72657 |
| 19-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Dump the value calculated by a constant expression when dumping the AST to JSON.
llvm-svn: 363866
|
#
7556615a |
| 19-Jun-2019 |
Aaron Ballman <aaron@aaronballman.com> |
Change the way we output templates for JSON AST dumping and dump information about template arguments.
Previously, we attempted to write out template parameters and specializations to their own arra
Change the way we output templates for JSON AST dumping and dump information 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
show more ...
|
#
1bbad593 |
| 11-Jun-2019 |
Richard Smith <richard-llvm@metafoo.co.uk> |
For DR712: store on a MemberExpr whether it constitutes an odr-use.
llvm-svn: 363087
|
#
715f7a1b |
| 11-Jun-2019 |
Richard Smith <richard-llvm@metafoo.co.uk> |
For DR712: store on a DeclRefExpr whether it constitutes an odr-use.
Begin restructuring to support the forms of non-odr-use reference permitted by DR712.
llvm-svn: 363086
|