diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-03-12 11:17:06 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-03-12 11:17:06 +0000 |
commit | 796aa443ab5ed036f42ef33fed629e1b4b34871b (patch) | |
tree | 9d2d4a6585b9fb92d17576d32b666e517a691e05 /lib/Sema/DeclSpec.cpp | |
parent | 3deeb6deaed56f28baa32296b10e259cb3e4127b (diff) |
Forgotten part of previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/DeclSpec.cpp')
-rw-r--r-- | lib/Sema/DeclSpec.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Sema/DeclSpec.cpp b/lib/Sema/DeclSpec.cpp index 388552d1f9..825d1afa0b 100644 --- a/lib/Sema/DeclSpec.cpp +++ b/lib/Sema/DeclSpec.cpp @@ -149,14 +149,14 @@ DeclaratorChunk DeclaratorChunk::getFunction(const ParsedAttributes &attrs, SourceRange *ExceptionRanges, unsigned NumExceptions, Expr *NoexceptExpr, - SourceLocation LPLoc, - SourceLocation RPLoc, + SourceLocation LocalRangeBegin, + SourceLocation LocalRangeEnd, Declarator &TheDeclarator, ParsedType TrailingReturnType) { DeclaratorChunk I; I.Kind = Function; - I.Loc = LPLoc; - I.EndLoc = RPLoc; + I.Loc = LocalRangeBegin; + I.EndLoc = LocalRangeEnd; I.Fun.AttrList = attrs.getList(); I.Fun.hasPrototype = hasProto; I.Fun.isVariadic = isVariadic; |