[clang] [Clang] Fix dependence handling of nttp for variable templates (PR #69075)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 16 07:07:23 PDT 2023


================
@@ -1299,8 +1299,9 @@ static bool checkTupleLikeDecomposition(Sema &S,
       //   in the associated namespaces.
       Expr *Get = UnresolvedLookupExpr::Create(
           S.Context, nullptr, NestedNameSpecifierLoc(), SourceLocation(),
-          DeclarationNameInfo(GetDN, Loc), /*RequiresADL*/true, &Args,
-          UnresolvedSetIterator(), UnresolvedSetIterator());
+          DeclarationNameInfo(GetDN, Loc), /*RequiresADL*/ true, &Args,
+          UnresolvedSetIterator(), UnresolvedSetIterator(),
+          /*KnownDependent*/ false);
----------------
erichkeane wrote:

```suggestion
          /*KnownDependent=*/ false);
```

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


More information about the cfe-commits mailing list