================ @@ -2593,7 +2593,11 @@ APValue *VarDecl::evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes, EvaluatedStmt *Eval = ensureEvaluatedStmt(); const auto *Init = getInit(); - assert(!Init->isValueDependent()); ---------------- shafik wrote:
You need to justify why this is not correct and why the new code is. Looks like this assert was brought in by 76c0092665867 CC @zygoloid https://github.com/llvm/llvm-project/pull/181561 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
