[all-commits] [llvm/llvm-project] d89c4c: Match code following lambdas when ignoring invisib...

Stephen Kelly via All-commits all-commits at lists.llvm.org
Tue Dec 31 09:05:01 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d89c4cb938070a6de11e624984e5bd0e989fb334
      https://github.com/llvm/llvm-project/commit/d89c4cb938070a6de11e624984e5bd0e989fb334
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2019-12-31 (Tue, 31 Dec 2019)

  Changed paths:
    M clang/lib/ASTMatchers/ASTMatchFinder.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  Match code following lambdas when ignoring invisible nodes

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

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


  Commit: 06fdbf3dafb76e54ea76e0eb5f690bc3d6773023
      https://github.com/llvm/llvm-project/commit/06fdbf3dafb76e54ea76e0eb5f690bc3d6773023
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2019-12-31 (Tue, 31 Dec 2019)

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

  Log Message:
  -----------
  Unnest struct in Matcher implementation

This allows implementation of the traverse() matcher to surround
matchers like unless().


  Commit: 69bb99914f35b887e949b72feafc5f41ee0db6e1
      https://github.com/llvm/llvm-project/commit/69bb99914f35b887e949b72feafc5f41ee0db6e1
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2019-12-31 (Tue, 31 Dec 2019)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchers.h
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  Implement additional traverse() overloads

Summary:
These overloads make it possible to wrap unless(), anyOf(), has() etc
with the traverse matcher.

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

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


Compare: https://github.com/llvm/llvm-project/compare/df3b56c90544...69bb99914f35


More information about the All-commits mailing list