commit | edae1a2fc81982b87207cd0b385ee7a9c8ce426b | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Tue Oct 25 17:14:10 2011 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Tue Oct 25 17:14:10 2011 +0000 |
tree | dd6a44e1f4d2cf9b8eb8d096fa34dec1e44990fe | |
parent | 22216eb4fb0936d2488fc03abd285d135c36ff01 [diff] |
Initialize the BaseLoc for decltype base type specifications. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142929 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp index 10234ab..bdd41a2 100644 --- a/lib/Parse/ParseDeclCXX.cpp +++ b/lib/Parse/ParseDeclCXX.cpp
@@ -718,6 +718,8 @@ // Fake up a Declarator to use with ActOnTypeName. DeclSpec DS(AttrFactory); + BaseLoc = Tok.getLocation(); + ParseDecltypeSpecifier(DS); EndLocation = DS.getSourceRange().getEnd();