diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-08-19 23:14:54 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-08-19 23:14:54 +0000 |
commit | 82bf01061b97404fed8c422fc0eda0a380689cc9 (patch) | |
tree | b89ed4c0b08c04ad27b8ff2ae6b7cc1a8a98748d /lib/Parse/ParseExpr.cpp | |
parent | 1dea87a0760070190db3e35f3c47f611662b5f28 (diff) |
Keep track of the right paren ')' source location in a function declarator.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index 57604a8dc9..7303f57dde 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -1547,7 +1547,8 @@ Parser::OwningExprResult Parser::ParseBlockLiteralExpression() { 0, 0, 0, false, SourceLocation(), false, 0, 0, 0, - CaretLoc, ParamInfo), + CaretLoc, CaretLoc, + ParamInfo), CaretLoc); if (Tok.is(tok::kw___attribute)) { |