[clang-tools-extra] r319690 - Fix build after r319688: s/CPlusPlus1z/CPlusPlus17/

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 12:38:21 PST 2017


Author: hans
Date: Mon Dec  4 12:38:21 2017
New Revision: 319690

URL: http://llvm.org/viewvc/llvm-project?rev=319690&view=rev
Log:
Fix build after r319688: s/CPlusPlus1z/CPlusPlus17/

Modified:
    clang-tools-extra/trunk/clang-tidy/modernize/UnaryStaticAssertCheck.cpp

Modified: clang-tools-extra/trunk/clang-tidy/modernize/UnaryStaticAssertCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/modernize/UnaryStaticAssertCheck.cpp?rev=319690&r1=319689&r2=319690&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/modernize/UnaryStaticAssertCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/modernize/UnaryStaticAssertCheck.cpp Mon Dec  4 12:38:21 2017
@@ -18,7 +18,7 @@ namespace tidy {
 namespace modernize {
 
 void UnaryStaticAssertCheck::registerMatchers(MatchFinder *Finder) {
-  if (!getLangOpts().CPlusPlus1z)
+  if (!getLangOpts().CPlusPlus17)
     return;
 
   Finder->addMatcher(staticAssertDecl().bind("static_assert"), this);




More information about the cfe-commits mailing list