[all-commits] [llvm/llvm-project] 019723: Invert accessor for checking traversal mode

Stephen Kelly via All-commits all-commits at lists.llvm.org
Tue Nov 17 08:29:33 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 019723fc295b692af31ced0d8e5c3c1736117de9
      https://github.com/llvm/llvm-project/commit/019723fc295b692af31ced0d8e5c3c1736117de9
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/lib/ASTMatchers/ASTMatchFinder.cpp
    M clang/lib/ASTMatchers/ASTMatchersInternal.cpp

  Log Message:
  -----------
  Invert accessor for checking traversal mode

For now, there is a traversal mode which ignores implicit casts and
parenthesis. Invert the check in order to not obviously break that.


  Commit: 36011bdfb6486217c45f1b0c7739c1c356ad9592
      https://github.com/llvm/llvm-project/commit/36011bdfb6486217c45f1b0c7739c1c356ad9592
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/lib/ASTMatchers/ASTMatchFinder.cpp
    M clang/lib/ASTMatchers/ASTMatchersInternal.cpp

  Log Message:
  -----------
  Rename API to not be constrained to template instantiations

A follow-up commit will use this method to ignore implcit AST nodes.


  Commit: 34c0f3cbf1ee025c2e85858b1eb0b0bf1755b569
      https://github.com/llvm/llvm-project/commit/34c0f3cbf1ee025c2e85858b1eb0b0bf1755b569
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h

  Log Message:
  -----------
  Move ASTMatchFinder definition so it can be accessed from other functions


Compare: https://github.com/llvm/llvm-project/compare/5f3a8074a431...34c0f3cbf1ee


More information about the All-commits mailing list