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.
https://reviews.llvm.org/D22220
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits