diff options
author | Nico Weber <nicolasweber@gmx.de> | 2010-11-22 12:50:03 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2010-11-22 12:50:03 +0000 |
commit | 7f8bb368ea78481d3cfd7126912a34f4d86fe826 (patch) | |
tree | 3ea9d44566a953102f508ddcdd453778e011623c /clang/lib/Parse/ParseDecl.cpp | |
parent | 556f203d646cbc63c1d9079f81f4ebbe3f93eea8 (diff) | |
download | bcm5719-llvm-7f8bb368ea78481d3cfd7126912a34f4d86fe826.tar.gz bcm5719-llvm-7f8bb368ea78481d3cfd7126912a34f4d86fe826.zip |
Try to get the bots green after r119966.
llvm-svn: 119968
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 36054a9958a..79fc198ab49 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -1083,8 +1083,9 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS, case tok::annot_typename: { if (Tok.getAnnotationValue()) { ParsedType T = getTypeAnnotation(Tok); - isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, - Tok.getAnnotationEndLoc(), PrevSpec, + // FIXME: This should probably pass getAnnotationEndLoc() instead of + // Loc, but that breaks test/Index/recursive-cxx-member-calls.cpp. + isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T); } else DS.SetTypeSpecError(); |