================
@@ -20715,8 +20715,7 @@ static void DoMarkVarDeclReferenced(
bool NeedDefinition =
OdrUse == OdrUseContext::Used || NeededForConstantEvaluation ||
- (TSK != clang::TSK_Undeclared && !UsableInConstantExpr &&
- Var->getType()->isUndeducedType());
+ (TSK != clang::TSK_Undeclared && Var->getType()->isUndeducedType());
----------------
akash-manna-sky wrote:
what do you think would be the right approach here? If you have a better way to
address this issue, I'd be happy to give it a try. @zyn0217 @cor3ntin
https://github.com/llvm/llvm-project/pull/217709
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits