Eduardo Caldas
2325d6b42f
[SyntaxTree] Ignore implicit non-leaf CXXConstructExpr
...
Differential Revision: https://reviews.llvm.org/D86699
2020-09-08 09:44:23 +00:00
Eduardo Caldas
a1461953f4
[SyntaxTree] Add coverage for declarators and init-declarators
2020-08-28 12:19:38 +00:00
Eduardo Caldas
718e550cd0
[SyntaxTree] Refactor NodeRole
s
...
Previously a NodeRole would generally be prefixed with the `NodeKind`,
we remove this prefix, as it we redundant and made tests more noisy.
Differential Revision: https://reviews.llvm.org/D86636
2020-08-27 05:16:00 +00:00
Eduardo Caldas
dc3d474327
[SyntaxTree] Migrate ParamatersAndQualifiers
to use the new List API
...
Fix: Add missing `List::getTerminationKind()`, `List::canBeEmpty()`,
`List::getDelimiterTokenKind()` for `CallArguments`.
Differential Revision: https://reviews.llvm.org/D86600
2020-08-26 16:46:19 +00:00
Eduardo Caldas
3b75f65e6b
[SyntaxTree] Fix C++ versions on tests of BuildTreeTest.cpp
...
Differential Revision: https://reviews.llvm.org/D86591
2020-08-26 07:19:49 +00:00
Eduardo Caldas
2de2ca348d
[SyntaxTree] Add support for CallExpression
...
* Generate `CallExpression` syntax node for all semantic nodes inheriting from
`CallExpr` with call-expression syntax - except `CUDAKernelCallExpr`.
* Implement all the accessors
* Arguments of `CallExpression` have their own syntax node which is based on
the `List` base API
Differential Revision: https://reviews.llvm.org/D86544
2020-08-26 07:03:49 +00:00
Eduardo Caldas
be2bc7d4ce
[SyntaxTree] Update Modifiable
tests to dump NodeRole
and unmodifiable
tag
2020-08-25 06:34:48 +00:00
Eduardo Caldas
5c11c08d86
[SyntaxTree] Update Declaration
tests to dump NodeRole
2020-08-25 06:34:47 +00:00
Eduardo Caldas
6118ce79a3
[SyntaxTree] Update Expression
tests to dump NodeRole
2020-08-25 06:34:47 +00:00
Eduardo Caldas
02a9f8a27b
[SyntaxTree] Update Statement
tests to dump NodeRole
2020-08-25 06:34:47 +00:00
Eduardo Caldas
7f426c65b0
[SyntaxTree] Use annotations on ClassTemplate_MemberClassDefinition test
...
Differential Revision: https://reviews.llvm.org/D86470
2020-08-25 06:07:40 +00:00
Eduardo Caldas
b493e4cb3e
[SyntaxTree] Split ConstVolatileQualifiers tests
...
Differential Revision: https://reviews.llvm.org/D86469
2020-08-25 06:07:40 +00:00
Eduardo Caldas
61273f298f
[SyntaxTree] Split MemberPointer
tests with annotations
...
Differential Revision: https://reviews.llvm.org/D86467
2020-08-25 06:07:40 +00:00
Eduardo Caldas
235f9f7fe9
[SyntaxTree] Split DynamicExceptionSpecification
test
2020-08-24 14:31:46 +00:00
Eduardo Caldas
4baa163c74
[SyntaxTree] Split ParametersAndQualifiers
tests
...
Differential Revision: https://reviews.llvm.org/D86459
2020-08-24 14:31:46 +00:00
Eduardo Caldas
90f85dfc14
[SyntaxTree] Group tests related to using
...
Differential Revision: https://reviews.llvm.org/D86443
2020-08-24 14:31:46 +00:00
Eduardo Caldas
a722d6a197
[SyntaxTree] Split ExplicitTemplateInstantiation test
...
Differential Revision: https://reviews.llvm.org/D86441
2020-08-24 14:31:45 +00:00
Eduardo Caldas
b4093d663f
[SyntaxTree] Split FreeStandingClass tests
...
Differential Revision: https://reviews.llvm.org/D86440
2020-08-24 14:31:45 +00:00
Eduardo Caldas
ed83095254
[SyntaxTree] Use annotations to reduce noise on member function tests
...
Differential Revision: https://reviews.llvm.org/D86439
2020-08-24 14:31:45 +00:00
Eduardo Caldas
4e8dd506e6
[SyntaxTree] Split array declarator tests
...
Differential Revision: https://reviews.llvm.org/D86437
2020-08-24 14:31:45 +00:00
Eduardo Caldas
1beb11c61a
[SyntaxTree] Use annotations in Statement tests
...
Differential Revision: https://reviews.llvm.org/D86345
2020-08-21 14:42:33 +00:00
Eduardo Caldas
85c15f17cc
[SyntaxTree] Add support for this
...
Differential Revision: https://reviews.llvm.org/D86298
2020-08-21 08:01:29 +00:00
Eduardo Caldas
e4e983e240
[SyntaxTree] Split tests related to Namespace
...
Differential Revision: https://reviews.llvm.org/D86139
2020-08-20 15:14:56 +00:00
Eduardo Caldas
ba32915db2
[SyntaxTree] Add support for MemberExpression
...
Differential Revision: https://reviews.llvm.org/D86227
2020-08-20 14:57:35 +00:00
Eduardo Caldas
c8c92b54d7
[SyntaxTree] Use Annotations based tests for expressions
...
In this process we also create some other tests, in order to not lose
coverage when focusing on the annotated code
Differential Revision: https://reviews.llvm.org/D85962
2020-08-18 13:00:56 +00:00
Eduardo Caldas
2e4a20fd70
[SyntaxTree] Split TreeTestBase
into header and source
...
* Switch to using directive on source files.
* Remove unused `SyntaxTreeTest::addFile`
Differential Revision: https://reviews.llvm.org/D85913
2020-08-14 07:29:07 +00:00
Eduardo Caldas
d17437d2bd
[SyntaxTree] Split TreeTest.cpp
...
We extract the test infrastructure into `TreeTestBase.h` and split the
tests into `MutationsTest.cpp` and `BuildTreeTest.cpp`
2020-08-13 13:30:57 +00:00