[all-commits] [llvm/llvm-project] 718e55: [SyntaxTree] Refactor `NodeRole`s

Eduardo Caldas via All-commits all-commits at lists.llvm.org
Wed Aug 26 22:16:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 718e550cd0362c3421accb6e2067b5fdc3eddb17
      https://github.com/llvm/llvm-project/commit/718e550cd0362c3421accb6e2067b5fdc3eddb17
  Author: Eduardo Caldas <ecaldas at google.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M clang/include/clang/Tooling/Syntax/Nodes.h
    M clang/lib/Tooling/Syntax/BuildTree.cpp
    M clang/lib/Tooling/Syntax/Nodes.cpp
    M clang/lib/Tooling/Syntax/Tree.cpp
    M clang/unittests/Tooling/Syntax/BuildTreeTest.cpp

  Log Message:
  -----------
  [SyntaxTree] Refactor `NodeRole`s

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

Differential Revision: https://reviews.llvm.org/D86636




More information about the All-commits mailing list