[PATCH] D98792: [ASTMatchers][NFC] Use move semantics when passing matchers around.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 17 13:03:19 PDT 2021


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

LGTM aside from a small nit.



================
Comment at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1564
 public:
-  PolymorphicMatcher(const ParamTypes &... Params) : Params(Params...) {}
+  PolymorphicMatcher(const ParamTypes &...Params) : Params(Params...) {}
 
----------------
This change seems unintentional?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98792



More information about the cfe-commits mailing list