summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-08-19 23:14:54 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-08-19 23:14:54 +0000
commit20cf19141f4a6260f9f4cb33093e66721f12630b (patch)
tree2cb7fe8ed2a08d3c322f5424690780383f77f01e /clang/lib/Parse/ParseExpr.cpp
parentda94af763bf7b1a966d05907fa062bd660cdd90f (diff)
downloadbcm5719-llvm-20cf19141f4a6260f9f4cb33093e66721f12630b.tar.gz
bcm5719-llvm-20cf19141f4a6260f9f4cb33093e66721f12630b.zip
Keep track of the right paren ')' source location in a function declarator.
llvm-svn: 79489
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r--clang/lib/Parse/ParseExpr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index 57604a8dc9f..7303f57ddea 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/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)) {
OpenPOWER on IntegriCloud