[all-commits] [llvm/llvm-project] 6a0c06: [ASTMatchers] Adds a matcher called `hasAnyOperato...

Nathan James via All-commits all-commits at lists.llvm.org
Mon Feb 24 23:51:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a0c066c6102cd463e8ad48881e91e596547507a
      https://github.com/llvm/llvm-project/commit/6a0c066c6102cd463e8ad48881e91e596547507a
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M clang/docs/LibASTMatchersReference.html
    M clang/docs/tools/dump_ast_matchers.py
    M clang/include/clang/ASTMatchers/ASTMatchers.h
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
    M clang/lib/ASTMatchers/Dynamic/Registry.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  [ASTMatchers] Adds a matcher called `hasAnyOperatorName`

Summary:
Acts on `BinaryOperator` and `UnaryOperator` and functions the same as `anyOf(hasOperatorName(...), hasOperatorName(...), ...)`

Documentation generation isn't perfect but I feel that the python doc script needs updating for that

Reviewers: aaron.ballman, gribozavr2

Reviewed By: aaron.ballman, gribozavr2

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list