r226363 - Address review feedback from r226306. No intended behavior change.
Nico Weber
nicolasweber at gmx.de
Fri Jan 16 18:26:40 PST 2015
Author: nico
Date: Fri Jan 16 20:26:40 2015
New Revision: 226363
URL: http://llvm.org/viewvc/llvm-project?rev=226363&view=rev
Log:
Address review feedback from r226306. No intended behavior change.
Modified:
cfe/trunk/lib/Parse/ParseDeclCXX.cpp
Modified: cfe/trunk/lib/Parse/ParseDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDeclCXX.cpp?rev=226363&r1=226362&r2=226363&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDeclCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDeclCXX.cpp Fri Jan 16 20:26:40 2015
@@ -2533,8 +2533,8 @@ void Parser::ParseCXXClassMemberDeclarat
// 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);
More information about the cfe-commits
mailing list