diff options
-rw-r--r-- | lib/Parse/ParseDeclCXX.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp index 10234ab892..bdd41a27df 100644 --- a/lib/Parse/ParseDeclCXX.cpp +++ b/lib/Parse/ParseDeclCXX.cpp @@ -718,6 +718,8 @@ Parser::TypeResult Parser::ParseBaseTypeSpecifier(SourceLocation &BaseLoc, // Fake up a Declarator to use with ActOnTypeName. DeclSpec DS(AttrFactory); + BaseLoc = Tok.getLocation(); + ParseDecltypeSpecifier(DS); EndLocation = DS.getSourceRange().getEnd(); |