We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a508ea2 commit eeada0dCopy full SHA for eeada0d
clang/include/clang/AST/TypeLoc.h
@@ -2519,6 +2519,15 @@ class DeducedTemplateSpecializationTypeLoc
2519
getLocalData()->QualifierData = QualifierLoc.getOpaqueData();
2520
}
2521
2522
+ SourceRange getLocalSourceRange() const {
2523
+ SourceLocation BeginLoc = getElaboratedKeywordLoc();
2524
+ if (BeginLoc.isInvalid())
2525
+ BeginLoc = getQualifierLoc().getBeginLoc();
2526
2527
+ BeginLoc = getNameLoc();
2528
+ return {BeginLoc, getNameLoc()};
2529
+ }
2530
+
2531
void initializeLocal(ASTContext &Context, SourceLocation Loc);
2532
};
2533
0 commit comments