They cover part of types and names for some declarations, including
common cases like variables, functions, etc.
See the comment of Declarator for more details.
Paths
| Differential D72089
[Syntax] Build declarator nodes ClosedPublic Authored by ilya-biryukov on Jan 2 2020, 8:32 AM.
Details
Summary They cover part of types and names for some declarations, including See the comment of Declarator for more details.
Diff Detail
Event Timelineilya-biryukov added a parent revision: D72072: [AST] Respect shouldTraversePostOrder when traversing type locs.Jan 2 2020, 8:33 AM ilya-biryukov added a parent revision: D72073: [Sema] Fix location of star ('*') inside MemberPointerTypeLoc. ilya-biryukov added a child revision: D72334: [Syntax] Build nodes for template declarations..Jan 7 2020, 7:17 AM Comment Actions Unit tests: pass. 61848 tests passed, 0 failed and 781 were skipped. clang-tidy: unknown. clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch. Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
Comment Actions I'm taking over of this patch (with a kind permission from Ilya :) I've replied to comments here, but let's continue the review over at https://reviews.llvm.org/D76220. Thanks :)
This revision is now accepted and ready to land.Mar 16 2020, 11:15 AM
Revision Contents
Diff 235885 clang/include/clang/Tooling/Syntax/Nodes.h
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/lib/Tooling/Syntax/Nodes.cpp
clang/unittests/Tooling/Syntax/TreeTest.cpp
|
s/iterator/container/ ?
Also unclear why a custom one should be used.
I also think it should be an implementation comment (in the .cc file).