Skip to content

Commit 574fff4

Browse files
committed
[FOLD] add comment
1 parent 4524db5 commit 574fff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Sema/SemaCXXScopeSpec.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) {
397397
while (NNS->getPrefix())
398398
NNS = NNS->getPrefix();
399399

400+
// FIXME: This is a rather nasty hack! Ideally we should get the results
401+
// from LookupTemplateName/BuildCXXNestedNameSpecifier.
400402
const IdentifierInfo *II = NNS->getAsIdentifier();
401403
if (!II) {
402404
if (const auto *DTST =

0 commit comments

Comments
 (0)