[PATCH] D86636: [SyntaxTree] Refactor `NodeRole`s

Eduardo Caldas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 09:22:21 PDT 2020


eduucaldas created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
eduucaldas requested review of this revision.

Previously a NodeRole would generally be prefixed with the `NodeKind`,
we remove this prefix, as it we redundant and made tests more noisy.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86636

Files:
  clang/include/clang/Tooling/Syntax/Nodes.h
  clang/lib/Tooling/Syntax/BuildTree.cpp
  clang/lib/Tooling/Syntax/Nodes.cpp
  clang/lib/Tooling/Syntax/Tree.cpp
  clang/unittests/Tooling/Syntax/BuildTreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86636.288005.patch
Type: text/x-patch
Size: 136828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200826/69169e1b/attachment-0001.bin>


More information about the cfe-commits mailing list