This revision was automatically updated to reflect the committed changes.
Closed by commit rGc3c08bfdfd62: [SyntaxTree] Test the List API (authored by
eduucaldas).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87839/new/
https://reviews.llvm.org/D87
eduucaldas marked an inline comment as done.
eduucaldas added inline comments.
Comment at: clang/include/clang/Tooling/Syntax/Tree.h:224
+ /// "a, b c" <=> [("a", ","), ("b", nul), ("c", nul)]
+ /// "a, b,"<=> [("a", ","), ("b", ","), (nul, nul)]
///
g
eduucaldas updated this revision to Diff 293490.
eduucaldas added a comment.
.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87839/new/
https://reviews.llvm.org/D87839
Files:
clang/include/clang/Tooling/Syntax/Tree.h
clang/unittests/Tooling/Sy
eduucaldas updated this revision to Diff 293489.
eduucaldas marked 3 inline comments as done.
eduucaldas added a comment.
Answer code review.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87839/new/
https://reviews.llvm.org/D87839
Files:
clang/i
gribozavr2 added inline comments.
Comment at: clang/include/clang/Tooling/Syntax/Tree.h:224
+ /// "a, b c" <=> [("a", ","), ("b", nul), ("c", nul)]
+ /// "a, b,"<=> [("a", ","), ("b", ","), (nul, nul)]
///
I'd slightly prefer "null" b/c "nul" refers to
eduucaldas added a reviewer: gribozavr2.
eduucaldas added a comment.
I made a separate class for the tests on Lists, as it didn't share any methods
with the tests for Trees. What do you think about that?
Should I also put the tests for lists in a different file, even though
`TreeTest.cpp` could
eduucaldas updated this revision to Diff 293386.
eduucaldas added a comment.
- [SyntaxTree] Split `TreeTest` and `ListTest` testing fixtures.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87839/new/
https://reviews.llvm.org/D87839
Files:
clang/i
eduucaldas updated this revision to Diff 292547.
eduucaldas added a comment.
Apply arc lint patch
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87839/new/
https://reviews.llvm.org/D87839
Files:
clang/include/clang/Tooling/Syntax/Tree.h
clang/u
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/D87839
Files:
clang/include/clang/Tooling/Syntax/Tree.h
clang/unittests/Toolin