| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
the AST to JSON.
llvm-svn: 364078
|
|
|
|
| |
llvm-svn: 364067
|
|
|
|
| |
llvm-svn: 364043
|
|
|
|
|
|
| |
to JSON.
llvm-svn: 363988
|
|
|
|
|
|
| |
to JSON.
llvm-svn: 363966
|
|
|
|
| |
llvm-svn: 363965
|
|
|
|
|
|
| |
the AST to JSON.
llvm-svn: 363943
|
|
|
|
|
|
| |
when dumping the AST to JSON.
llvm-svn: 363926
|
|
|
|
|
|
| |
dumping the AST to JSON.
llvm-svn: 363873
|
|
|
|
|
|
| |
the AST to JSON.
llvm-svn: 363869
|
|
|
|
| |
llvm-svn: 363866
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 363087
|
|
|
|
|
|
|
| |
Begin restructuring to support the forms of non-odr-use reference
permitted by DR712.
llvm-svn: 363086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In response to https://bugs.llvm.org/show_bug.cgi?id=33235, it became
clear that the current mechanism of hacking through checks for the
exception specification of a function gets confused really quickly when
there are alternate exception specifiers.
This patch introcues EST_NoThrow, which is the equivilent of
EST_noexcept when caused by EST_noThrow. The existing implementation is
left in place to cover functions with no FunctionProtoType.
Differential Revision: https://reviews.llvm.org/D62435
llvm-svn: 362119
|
|
|
|
|
|
| |
expression with a type operand.
llvm-svn: 361769
|
|
|
|
| |
llvm-svn: 361768
|
|
|
|
| |
llvm-svn: 361767
|
|
|
|
|
|
| |
expression.
llvm-svn: 361766
|
|
|
|
|
|
| |
catch-all statements.
llvm-svn: 361660
|
|
|
|
| |
llvm-svn: 361652
|
|
|
|
|
|
|
|
|
|
|
| |
This permits an init-capture to introduce a new pack:
template<typename ...T> auto x = [...a = T()] { /* a is a pack */ };
To support this, the mechanism for allowing ParmVarDecls to be packs has
been extended to support arbitrary local VarDecls.
llvm-svn: 361300
|
|
|
|
| |
llvm-svn: 361265
|
|
|
|
|
|
| |
This adds tests for dumping expressions in C. It also updates a comment to note an issue to be fixed with printing character literals discovered as part of this testing.
llvm-svn: 361193
|
|
|
|
| |
llvm-svn: 361172
|
|
This adds the -ast-dump=json cc1 flag (in addition to -ast-dump=default, which is the default if no dump format is specified), as well as some initial AST dumping functionality and tests.
llvm-svn: 360622
|