[PATCH] D95735: [ASTMatchers] Fix matching after generic top-level matcher

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 1 13:03:28 PST 2021


steveire added a comment.

In D95735#2534400 <https://reviews.llvm.org/D95735#2534400>, @aaron.ballman wrote:

> I'm a bit confused -- I only get one match when I try out your example: https://godbolt.org/z/xn9efY Are there other changes in-flight that necessitate this, or is something else going on?

Yes, only `IgnoreUnlessSpelledInSource` mode is affected: https://godbolt.org/z/ffareK


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95735/new/

https://reviews.llvm.org/D95735



More information about the cfe-commits mailing list