diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-09 20:22:58 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-09 20:22:58 +0000 |
| commit | c13f26873fbda0ff998d89e564233987b6068b35 (patch) | |
| tree | 5d00b55e6974dba380c898dc8c5477c32efa525f /clang/lib/Parse/ParseDeclCXX.cpp | |
| parent | 93041ba48357dc78eba02a18dd981c249f0d8ec4 (diff) | |
| download | bcm5719-llvm-c13f26873fbda0ff998d89e564233987b6068b35.tar.gz bcm5719-llvm-c13f26873fbda0ff998d89e564233987b6068b35.zip | |
Kick out the proof-of-concept ASTOwner and replace it with ASTOwningResult
llvm-svn: 60791
Diffstat (limited to 'clang/lib/Parse/ParseDeclCXX.cpp')
| -rw-r--r-- | clang/lib/Parse/ParseDeclCXX.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp index ea7a5a103b6..4b92c918633 100644 --- a/clang/lib/Parse/ParseDeclCXX.cpp +++ b/clang/lib/Parse/ParseDeclCXX.cpp @@ -489,8 +489,8 @@ Parser::DeclTy *Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS) { // 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 @@ Parser::DeclTy *Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS) { // 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)) |

