cor3ntin added a comment. Yes, this looks good to me too. Thanks for working on this. Can you modify ReleaseNotes.rst to mention the fixed issue?
================ Comment at: clang/include/clang/Sema/Sema.h:1355 + InImmediateFunctionContext) || + // [expr.const#def:immediate_function_context] + // An expression or conversion is in an immediate function ---------------- ================ Comment at: clang/lib/Sema/SemaDecl.cpp:14774 if (!isLambdaCallOperator(FD)) + // [expr.const#def:immediate_function_context] + // An expression or conversion is in an immediate function context if it is ---------------- Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D132659/new/ https://reviews.llvm.org/D132659 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits