[PATCH] D94880: Add clang-query support for mapAnyOf

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 1 14:01:32 PST 2021


steveire added inline comments.


================
Comment at: clang/lib/ASTMatchers/Dynamic/Registry.cpp:697
 
-      if (IsPolymorphic) {
-        OS << "Matcher<T> " << Name << "(Matcher<T>";
+      std::string TypedText = std::string(Name);
+
----------------
aaron.ballman wrote:
> Any reason this declaration needed to move?
It's used after the if-else.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94880



More information about the cfe-commits mailing list