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 | c43271e3178078758017f76bc9615e0361088a0d (patch) | |
tree | 7ad356a1d293d77b3e4f1711afdb38a740e3e464 /lib/Parse/ParseDecl.cpp | |
parent | 253e80b019727451edb4cbcad71277fcbe05ff0e (diff) |
Try to get the bots green after r119966.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 36054a9958..79fc198ab4 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/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(); |