Fznamznon added inline comments.
================ Comment at: clang/lib/Sema/SemaExpr.cpp:18441 SemaRef.Diag(ND->getLocation(), diag::note_declared_at); + if (auto Context = + SemaRef.InnermostDeclarationWithDelayedImmediateInvocations()) { ---------------- cor3ntin wrote: > Fznamznon wrote: > > I would prefer spelling type here. > that's an > `std::optional<ExpressionEvaluationContextRecord::InitializationContext>`, > I'm not sure spelling it improved readability. But i can change it! Uh, yeah, doesn't seem to be improving readability. NVM :) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D155175/new/ https://reviews.llvm.org/D155175 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits