[all-commits] [llvm/llvm-project] 4e9e2f: Fix documentation for `forEachLambdaCapture` and `...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Thu Dec 2 05:28:34 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e9e2f24178077d7055c0f667d13f887fef508d5
  Author: James King <jamescking at google.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M clang/docs/LibASTMatchersReference.html
    M clang/include/clang/ASTMatchers/ASTMatchers.h

  Log Message:
  Fix documentation for `forEachLambdaCapture` and `hasAnyCapture`

Updates the return types of these matchers' definitions to use
`internal::Matcher<LambdaCapture>` instead of `LambdaCaptureMatcher`. This
ensures that they are categorized as traversal matchers, instead of narrowing

Reviewed By: ymandel, tdl-g, aaron.ballman

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

More information about the All-commits mailing list