[PATCH] D22220: [clang-tidy] Add check 'misc-move-forwarding-reference'

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 10 07:33:13 PDT 2016

aaron.ballman added inline comments.

Comment at: clang-tidy/misc/MoveForwardingReferenceCheck.cpp:64
@@ +63,3 @@
+void MoveForwardingReferenceCheck::registerMatchers(MatchFinder *Finder) {
+  if (!getLangOpts().CPlusPlus11)
+    return;
sbenza wrote:
> I'm guessing this is checking Lang==C++11, but we actually want Lang>=C++11, right?
> I'm not sure if there is a way to check that.
CPlusPlus11 will be true for C++ >= 11.


More information about the cfe-commits mailing list