[PATCH] D101572: Make `hasTypeLoc` matcher support more node types.

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 6 15:51:29 PDT 2021


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

This looks good to me. I tried running it in clang-query, which crashes with a matcher like

  m binaryOperator(hasEitherOperand(hasTypeLoc(loc(asString("int")))))

but it also crashes before your change, so it must be unrelated.

Do you have a commit account or will I commit this for you with the name/email in your github commit?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101572



More information about the cfe-commits mailing list