Fix build after r319688: s/CPlusPlus1z/CPlusPlus17/

llvm-svn: 319690
This commit is contained in:
Hans Wennborg 2017-12-04 20:38:21 +00:00
parent 9364fa3434
commit ef573fa073

View File

@ -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);