[PATCH] D75040: [ASTMatchers] Adds a matcher called `hasAnyOperatorName`

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 24 05:37:39 PST 2020


gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1870
+                    std::is_same<T, UnaryOperator>::value,
+                "unsupported class for matcher");
+  static_assert(std::is_same<ArgT, std::vector<std::string>>::value,
----------------
Consider enhancing the message to say what the expected types are.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75040





More information about the cfe-commits mailing list