diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-01-18 18:53:16 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-01-18 18:53:16 +0000 |
commit | cd965b97cfac7b7a53a835810ec2bc2ac7a9dd1a (patch) | |
tree | b0877cb15978c0240797b11024005e522b665bd3 /lib/Parse/ParseDecl.cpp | |
parent | f512e82f56671b695a32d019103e62a302838b7e (diff) |
Convert a few expression actions to smart pointers.
These actions are extremely widely used (identifier expressions and literals); still no performance regression.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 319c03eecf..456acbeebd 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -2105,7 +2105,7 @@ void Parser::ParseBracketDeclarator(Declarator &D) { } else if (Tok.getKind() == tok::numeric_constant && GetLookAheadToken(1).is(tok::r_square)) { // [4] is very common. Parse the numeric constant expression. - OwningExprResult ExprRes(Actions, Actions.ActOnNumericConstant(Tok)); + OwningExprResult ExprRes(Actions.ActOnNumericConstant(Tok)); ConsumeToken(); MatchRHSPunctuation(tok::r_square, StartLoc); |