Kick out the proof-of-concept ASTOwner and replace it with ASTOwningResult
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60791 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp
index ea7a5a1..4b92c91 100644
--- a/lib/Parse/ParseDeclCXX.cpp
+++ b/lib/Parse/ParseDeclCXX.cpp
@@ -489,8 +489,8 @@
// member-declarator-list ',' member-declarator
DeclTy *LastDeclInGroup = 0;
- ExprOwner BitfieldSize(Actions);
- ExprOwner Init(Actions);
+ OwningExprResult BitfieldSize(Actions);
+ OwningExprResult Init(Actions);
while (1) {
@@ -543,8 +543,8 @@
// Parse the next declarator.
DeclaratorInfo.clear();
- BitfieldSize.reset();
- Init.reset();
+ BitfieldSize = 0;
+ Init = 0;
// Attributes are only allowed on the second declarator.
if (Tok.is(tok::kw___attribute))