This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5d152127d48f: [SyntaxTree][Synthesis] Add support for simple
Leafs and test based on tree dump (authored by eduucaldas).
Repository:
rG LLVM
eduucaldas updated this revision to Diff 291280.
eduucaldas marked 2 inline comments as done.
eduucaldas added a comment.
Remove `createLeafLowLevel`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87495/new/
https://reviews.llvm.org/D87495
Files:
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Tooling/Syntax/Synthesis.cpp:38
+StringRef Spelling) {
+ auto *Leaf = createLeafLowLevel(A,
eduucaldas updated this revision to Diff 291239.
eduucaldas added a comment.
fix clang-tidy warning
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87495/new/
https://reviews.llvm.org/D87495
Files:
clang/include/clang/Tooling/Syntax/BuildTree.h
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/Synthesis.cpp:51
+ return createLeaf(A, tok::getKeywordSpelling(K), K);
+}
+
gribozavr2 wrote:
> eduucaldas wrote:
> > gribozavr2 wrote:
> > > Could we make a combined function that does not
eduucaldas updated this revision to Diff 291229.
eduucaldas marked an inline comment as done.
eduucaldas added a comment.
`createPunctuation`, `createKeyword` -> `createLeaf`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87495/new/
gribozavr2 added inline comments.
Comment at: clang/lib/Tooling/Syntax/Synthesis.cpp:51
+ return createLeaf(A, tok::getKeywordSpelling(K), K);
+}
+
eduucaldas wrote:
> gribozavr2 wrote:
> > Could we make a combined function that does not require the user to
eduucaldas added inline comments.
Comment at: clang/lib/Tooling/Syntax/Synthesis.cpp:51
+ return createLeaf(A, tok::getKeywordSpelling(K), K);
+}
+
gribozavr2 wrote:
> Could we make a combined function that does not require the user to make a
> distinction
eduucaldas updated this revision to Diff 291190.
eduucaldas marked 5 inline comments as done.
eduucaldas added a comment.
Answer inline comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87495/new/
https://reviews.llvm.org/D87495
Files:
gribozavr2 added inline comments.
Comment at: clang/include/clang/Tooling/Syntax/BuildTree.h:30-31
+syntax::Leaf *createKeyword(Arena , tok::TokenKind K);
+syntax::Leaf *createLeaf(syntax::Arena , const char *spelling,
+ tok::TokenKind K);
+
eduucaldas updated this revision to Diff 291152.
eduucaldas added a comment.
Remove unused include
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87495/new/
https://reviews.llvm.org/D87495
Files:
clang/include/clang/Tooling/Syntax/BuildTree.h
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/D87495
Files:
clang/include/clang/Tooling/Syntax/BuildTree.h
12 matches
Mail list logo