Slightly improve source-location information during template instantiation
llvm-svn: 85529
This commit is contained in:
parent
f406f4d99b
commit
07cc4ac606
|
@ -1752,6 +1752,7 @@ TreeTransform<Derived>::TransformNestedNameSpecifier(NestedNameSpecifier *NNS,
|
|||
|
||||
case NestedNameSpecifier::TypeSpecWithTemplate:
|
||||
case NestedNameSpecifier::TypeSpec: {
|
||||
TemporaryBase Rebase(*this, Range.getBegin(), DeclarationName());
|
||||
QualType T = getDerived().TransformType(QualType(NNS->getAsType(), 0));
|
||||
if (T.isNull())
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue