parent
b5c356a4d5
commit
8ec9e07ed6
|
|
@ -2383,7 +2383,7 @@ namespace {
|
||||||
case NestedNameSpecifier::Identifier:
|
case NestedNameSpecifier::Identifier:
|
||||||
assert(isa<DependentNameType>(ClsTy) && "Unexpected TypeLoc");
|
assert(isa<DependentNameType>(ClsTy) && "Unexpected TypeLoc");
|
||||||
{
|
{
|
||||||
DependentNameTypeLoc DNTLoc = *cast<DependentNameTypeLoc>(&ClsTL);
|
DependentNameTypeLoc DNTLoc = cast<DependentNameTypeLoc>(ClsTL);
|
||||||
DNTLoc.setKeywordLoc(SourceLocation());
|
DNTLoc.setKeywordLoc(SourceLocation());
|
||||||
DNTLoc.setQualifierLoc(NNSLoc.getPrefix());
|
DNTLoc.setQualifierLoc(NNSLoc.getPrefix());
|
||||||
DNTLoc.setNameLoc(NNSLoc.getLocalBeginLoc());
|
DNTLoc.setNameLoc(NNSLoc.getLocalBeginLoc());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue