[PATCH] D132659: PotentiallyEvaluatedContext in a ImmediateFunctionContext.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 10:32:44 PDT 2022


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



More information about the cfe-commits mailing list