]> granicus.if.org Git - clang/commitdiff
Address review feedback from r226306. No intended behavior change.
authorNico Weber <nicolasweber@gmx.de>
Sat, 17 Jan 2015 02:26:40 +0000 (02:26 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 17 Jan 2015 02:26:40 +0000 (02:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226363 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseDeclCXX.cpp

index 9ce22ce9e1af74dcfd32f57d67552e00f3f60d0d..0d988312d8b38d9862bcf093934a4767b06bdcce 100644 (file)
@@ -2533,8 +2533,8 @@ void Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS,
     // Parse the next declarator.
     DeclaratorInfo.clear();
     VS.clear();
-    BitfieldSize = nullptr;
-    Init = true;
+    BitfieldSize = ExprResult(/*Invalid=*/false);
+    Init = ExprResult(/*Invalid=*/false);
     HasInitializer = false;
     DeclaratorInfo.setCommaLoc(CommaLoc);