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

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 05:25:11 PST 2021


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

In D95735#2534715 <https://reviews.llvm.org/D95735#2534715>, @steveire wrote:

> 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

Ahhh, of course, thank you! LGTM


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