eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86227
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syn
eduucaldas updated this revision to Diff 286593.
eduucaldas added a comment.
.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86227/new/
https://reviews.llvm.org/D86227
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syntax/
eduucaldas added a reviewer: gribozavr2.
eduucaldas added inline comments.
Comment at: clang/include/clang/Tooling/Syntax/Nodes.h:333
+/// expression . template_opt id-expression
+/// id-expression
+/// e.g. `x.a`, `xp->a` or even just `a` when we have an implicit `this->`.
eduucaldas updated this revision to Diff 286762.
eduucaldas added a comment.
Implicit `MemberExpr` generates `id-expression`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86227/new/
https://reviews.llvm.org/D86227
Files:
clang/include/clang/Tool
eduucaldas updated this revision to Diff 286799.
eduucaldas marked 10 inline comments as done.
eduucaldas added a comment.
Answering comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86227/new/
https://reviews.llvm.org/D86227
Files:
clang/i
eduucaldas marked an inline comment as done.
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:900
+
+auto *unqualifiedId = new (allocator()) syntax::UnqualifiedId;
+Builder.foldNode(Builder.getRange(S->getMemberLoc(), S->getEndLoc()),
-
eduucaldas updated this revision to Diff 286811.
eduucaldas marked 2 inline comments as done.
eduucaldas added a comment.
Unify logic for generating `id-expression`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86227/new/
https://reviews.llvm.org/D
This revision was automatically updated to reflect the committed changes.
Closed by commit rGba32915db2ce: [SyntaxTree] Add support for
`MemberExpression` (authored by eduucaldas).
Changed prior to commit:
https://reviews.llvm.org/D86227?vs=286811&id=286820#toc
Repository:
rG LLVM Github Mon
eduucaldas updated this revision to Diff 286823.
eduucaldas marked 2 inline comments as done.
eduucaldas added a comment.
answer comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86139/new/
https://reviews.llvm.org/D86139
Files:
clang/unitt
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe4e983e24043: [SyntaxTree] Split tests related to Namespace
(authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTI
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86298
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syn
This revision was automatically updated to reflect the committed changes.
Closed by commit rG85c15f17cc68: [SyntaxTree] Add support for `this` (authored
by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86298/new/
https://reviews.llvm.or
eduucaldas updated this revision to Diff 286983.
eduucaldas added a comment.
Adapt Statement tests to new testing infrastructure
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85330/new/
https://reviews.llvm.org/D85330
Files:
clang/include/clang/
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/Tree.cpp:158
if (!Marks.empty())
OS << Marks << ": ";
gribozavr2 wrote:
> Maybe the marks should be moved after the primary identifier of the node,
> WDYT? That would be more consis
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86345
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas added a reviewer: gribozavr2.
eduucaldas added a comment.
Sorry for doing this after asking for review.
I think it might be interesting landing this patch before :
https://reviews.llvm.org/D85330
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1beb11c61ae4: [SyntaxTree] Use annotations in Statement
tests (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86345/new/
https://rev
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86437
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86439
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86440
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86441
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86443
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86459
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas updated this revision to Diff 287378.
eduucaldas marked 4 inline comments as done.
eduucaldas added a comment.
Template -> ClassTemplate
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86441/new/
https://reviews.llvm.org/D86441
Files:
c
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb4093d663f83: [SyntaxTree] Split FreeStandingClass tests
(authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGed83095254a3: [SyntaxTree] Use annotations to reduce noise
on member function tests (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e8dd506e666: [SyntaxTree] Split array declarator tests
(authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa722d6a197c7: [SyntaxTree] Split
ExplicitTemplateInstantiation test (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE L
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4baa163c7423: [SyntaxTree] Split `ParametersAndQualifiers`
tests (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG90f85dfc14bc: [SyntaxTree] Group tests related to `using`
(authored by eduucaldas).
Changed prior to commit:
https://reviews.llvm.org/D86443?vs=28
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86467
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86469
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/un
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86470
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/un
eduucaldas updated this revision to Diff 287430.
eduucaldas marked an inline comment as done.
eduucaldas added a comment.
Update tests to dump role
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85330/new/
https://reviews.llvm.org/D85330
Files:
c
eduucaldas updated this revision to Diff 287431.
eduucaldas marked 4 inline comments as done.
eduucaldas added a comment.
- Nits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85330/new/
https://reviews.llvm.org/D85330
Files:
clang/include/clang/
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb493e4cb3e37: [SyntaxTree] Split ConstVolatileQualifiers
tests (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86469/new/
https://re
This revision was automatically updated to reflect the committed changes.
Closed by commit rG61273f298f2c: [SyntaxTree] Split `MemberPointer` tests with
annotations (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86467/new/
h
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7f426c65b06f: [SyntaxTree] Use annotations on
ClassTemplate_MemberClassDefinition test (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org
eduucaldas updated this revision to Diff 287562.
eduucaldas added a comment.
reorganize and nits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85330/new/
https://reviews.llvm.org/D85330
Files:
clang/include/clang/Tooling/Syntax/Tree.h
clang/li
eduucaldas updated this revision to Diff 287563.
eduucaldas added a comment.
.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85330/new/
https://reviews.llvm.org/D85330
Files:
clang/include/clang/Tooling/Syntax/Tree.h
clang/lib/Tooling/Syntax/B
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc655d8081570: [SyntaxTree] Extend the syntax tree dump to
also cover `NodeRole` (authored by eduucaldas).
Changed prior to commit:
https://reviews
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Add support for all C++ call expressions, including those coming from
`operator()`.
A call expression's arguments are inside their own node - `Cal
eduucaldas updated this revision to Diff 287694.
eduucaldas added a comment.
- Nits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86544/new/
https://reviews.llvm.org/D86544
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Sy
eduucaldas added a reviewer: gribozavr2.
eduucaldas added inline comments.
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:506
| `-'~'
-|-'decltype'
+|-'decltype' OpenParen
|-'('
This is wrong but it's just because decltype is all wrong
=
eduucaldas updated this revision to Diff 287842.
eduucaldas marked 8 inline comments as done.
eduucaldas added a comment.
Answer code review, squash commits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86544/new/
https://reviews.llvm.org/D86544
F
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:1070
+Builder.markChildToken(
+std::next(Builder.findToken(S->getCallee()->getEndLoc())),
+syntax::NodeRole::OpenParen);
gribozavr2 wrote:
> Could you add an
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2de2ca348dfa: [SyntaxTree] Add support for `CallExpression`
(authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTI
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86591
Files:
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Index: clang/uni
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3b75f65e6ba4: [SyntaxTree] Fix C++ versions on tests of
`BuildTreeTest.cpp` (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86600
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syn
eduucaldas updated this revision to Diff 287889.
eduucaldas added a comment.
nits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86600/new/
https://reviews.llvm.org/D86600
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Synt
eduucaldas updated this revision to Diff 287947.
eduucaldas added a comment.
answer code-review comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86600/new/
https://reviews.llvm.org/D86600
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
eduucaldas updated this revision to Diff 288010.
eduucaldas added a comment.
Add test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86600/new/
https://reviews.llvm.org/D86600
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdc3d4743277b: [SyntaxTree] Migrate `ParamatersAndQualifiers`
to use the new List API (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86679
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syn
eduucaldas added a reviewer: gribozavr2.
eduucaldas added a comment.
It's worth noting that accessors in the base APIs don't follow this rule.
Should we refactor them as well? In this patch?
Examples:
class Arena {
public:
const SourceManager &sourceManager() const { return SourceMgr; }
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86682
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
Index: clang/lib/Tooling/
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86698
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/S
eduucaldas updated this revision to Diff 288282.
eduucaldas added a comment.
rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86698/new/
https://reviews.llvm.org/D86698
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86699
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/S
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86700
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/S
This revision was automatically updated to reflect the committed changes.
Closed by commit rGac87a0b5873c: [SyntaxTree][NFC][Style] Functions start with
lowercase (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86682/new/
htt
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfda3fa822cb6: [SyntaxTree][NFC] Append "get" to
syntax Nodes accessor names (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
The refactored functions were
- `isReponsibleForCreatingDeclaration`
- `getQualifiedNameStart`
Repository:
rG LLVM Github Monorepo
https://re
eduucaldas updated this revision to Diff 288362.
eduucaldas added a comment.
Fix macro
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86719/new/
https://reviews.llvm.org/D86719
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
Index: clang/lib/Tool
eduucaldas updated this revision to Diff 288367.
eduucaldas added a comment.
Inline getDeclaratorRange inside buildTrailingReturn
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86719/new/
https://reviews.llvm.org/D86719
Files:
clang/lib/Tooling/S
eduucaldas added a reviewer: gribozavr2.
eduucaldas added a comment.
As a result of this change `getDeclaratorRange` is used exclusively inside
`processDeclaratorAndDeclaration` and the last two arguments are direct results
of `getQualifiedNameStart(D)` and `getInitializerRange(D)`, which are us
eduucaldas updated this revision to Diff 288559.
eduucaldas added a comment.
Move `getDeclaratorRange` helpers outside of `TreeBuilder`
Add coverage for qualified declarators and init-declarators
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86719/n
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:225-226
+/// `int *a = nullptr` -> range of `= nullptr`.
+/// `int a{}` -> range of `{}`.
+/// `int a()` -> range of `()`.
+static SourceRange getInitializerRange(Decl *D) {
-
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
This allows users to use `IgnoreExprNodes` outside of `clang/AST/Expr.h`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86778
eduucaldas updated this revision to Diff 288584.
eduucaldas marked an inline comment as done.
eduucaldas added a comment.
Rebase and answer comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86719/new/
https://reviews.llvm.org/D86719
Files:
eduucaldas marked an inline comment as done.
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:245
+/// `int S::f(){}` -> range of `S::f()`.
+/// FIXME: \p Name must be a source range, e.g. for `operator+`.
static SourceRange getDeclaratorR
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
eduucaldas marked an inline comment as done.
Closed by commit rG38bc0060e60f: [SyntaxTree][NFC] Refactor function templates
into functions taking base class (authored b
eduucaldas updated this revision to Diff 288963.
eduucaldas added a comment.
Herald added a subscriber: mgorny.
Minor lint fixes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86778/new/
https://reviews.llvm.org/D86778
Files:
clang/include/clang/
eduucaldas created this revision.
eduucaldas added a reviewer: gribozavr2.
Herald added subscribers: cfe-commits, martong.
Herald added a project: clang.
eduucaldas requested review of this revision.
This change groups
- Rename: `ignoreParenBaseCasts` -> `IgnoreParenBaseCasts` for uniformity
- Re
eduucaldas updated this revision to Diff 288965.
eduucaldas added a comment.
Fix lint problems
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86778/new/
https://reviews.llvm.org/D86778
Files:
clang/include/clang/AST/IgnoreExpr.h
clang/lib/AST/C
eduucaldas updated this revision to Diff 288978.
eduucaldas marked an inline comment as done.
eduucaldas added a comment.
Answer comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86778/new/
https://reviews.llvm.org/D86778
Files:
clang/inclu
eduucaldas updated this revision to Diff 288984.
eduucaldas added a comment.
Use `IgnoreExpr.h` infrastructure.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/lib/Tooling/Syntax/BuildTree.cp
eduucaldas updated this revision to Diff 288987.
eduucaldas added a comment.
nits
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/Sy
eduucaldas updated this revision to Diff 288988.
eduucaldas added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86700/new/
https://reviews.llvm.org/D86700
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/
eduucaldas added a reviewer: gribozavr2.
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:48-58
+static Expr *IgnoreImplicitCXXConstructExpr(Expr *E) {
+ if (auto *C = dyn_cast(E)) {
+auto NumArgs = C->getNumArgs();
+if (NumArgs == 1 |
eduucaldas updated this revision to Diff 289103.
eduucaldas marked 2 inline comments as done.
eduucaldas added a comment.
Add further tests and extract `IgnoreImplicitConstructorSingleStep`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
h
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1a7a2cd7474e: [Ignore Expressions][NFC] Refactor to better
use `IgnoreExpr.h` and nits (authored by eduucaldas).
Changed prior to commit:
https://
This revision was automatically updated to reflect the committed changes.
Closed by commit rG81aa66f65f50: Extract infrastructure to ignore intermediate
expressions into… (authored by eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86778/n
eduucaldas updated this revision to Diff 290223.
eduucaldas added a comment.
Add more tests, not extract `IgnoreImplicitConstructorSingleStep`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/
eduucaldas updated this revision to Diff 290224.
eduucaldas marked an inline comment as done.
eduucaldas added a comment.
Add FIXME for `CXXFunctionalCastExpr`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86700/new/
https://reviews.llvm.org/D86700
eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87229
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/S
eduucaldas updated this revision to Diff 290227.
eduucaldas added a comment.
.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/Synta
eduucaldas updated this revision to Diff 290228.
eduucaldas added a comment.
.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86700/new/
https://reviews.llvm.org/D86700
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/Tooling/Synta
eduucaldas added inline comments.
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:552
[[::n::S s1]];
[[n::S s2]];
}
gribozavr2 wrote:
> Do we have tests for calling constructors with arguments?
>
> `n::S s3(1, 2, 3);`
> `n::S s3{1, 2, 3};`
>
eduucaldas updated this revision to Diff 290259.
eduucaldas added a comment.
Add comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/To
eduucaldas updated this revision to Diff 290260.
eduucaldas added a comment.
Add comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86700/new/
https://reviews.llvm.org/D86700
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/To
eduucaldas updated this revision to Diff 290261.
eduucaldas added a comment.
Add comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87229/new/
https://reviews.llvm.org/D87229
Files:
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/unittests/To
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:48-50
+// Ignores the implicit `CXXConstructExpr` for copy/move constructors generated
+// by the compiler, as well as in implicit conversions like the one wrapping
`1`
+// in `X x = 1;`.
--
eduucaldas created this revision.
eduucaldas added a reviewer: gribozavr2.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.
- Do not visit `CXXDefaultArgExpr`
- To build `CallArguments` nodes, just go through non-default arguments
eduucaldas updated this revision to Diff 290327.
eduucaldas marked 3 inline comments as done.
eduucaldas added a comment.
answer comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/lib/T
eduucaldas updated this revision to Diff 290328.
eduucaldas marked 2 inline comments as done.
eduucaldas added a comment.
answer comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86700/new/
https://reviews.llvm.org/D86700
Files:
clang/lib/T
eduucaldas added inline comments.
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:4042
+
+TEST_P(SyntaxTreeTest, ExplicitConversion_ZeroArguments) {
+ if (!GetParam().isCXX()) {
gribozavr2 wrote:
> This is not a conversion, this is an explicit const
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:1137
+// Ignore the implicit default constructs.
+if ((S->getNumArgs() == 0 || isa(S->getArg(0))) &&
+S->getParenOrBraceRange().isInvalid())
gribozavr2 wrote:
> I
eduucaldas updated this revision to Diff 290331.
eduucaldas added a comment.
- Rename tests
- Add FIXMEs for init-declarators
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86699/new/
https://reviews.llvm.org/D86699
Files:
clang/lib/Tooling/Synta
301 - 400 of 480 matches
Mail list logo