[clang] [Clang][Sema] Make UnresolvedLookupExprs in class scope explicit specializations instantiation dependent (PR #100392)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 5 09:47:32 PDT 2024


================
@@ -8629,13 +8629,14 @@ ASTNodeImporter::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E) {
     return UnresolvedLookupExpr::Create(
         Importer.getToContext(), *ToNamingClassOrErr, *ToQualifierLocOrErr,
         *ToTemplateKeywordLocOrErr, ToNameInfo, E->requiresADL(), &ToTAInfo,
-        ToDecls.begin(), ToDecls.end(), KnownDependent);
+        ToDecls.begin(), ToDecls.end(), KnownDependent,
+        E->isInstantiationDependent());
----------------
mizvekov wrote:

Nit:

```suggestion
        /*KnownInstantiationDependent=*/E->isInstantiationDependent());
```

https://github.com/llvm/llvm-project/pull/100392


More information about the cfe-commits mailing list