================ @@ -501,6 +497,12 @@ features cannot lower the translation-unit ABI level; to a subobject and is used in a context that requires an implicit conversion. (#GH215900) +- Fixed a number issues arising from the fact that Clang considered the body of + an expansion statement to not be inside a function in some contexts. Several + constructs that were previously incorrectly rejected inside expansion statements + (e.g. `thread_local` variables, `va_start`, and `co_await`/`co_yield`/`co_return`) + are now accepted, and vice versa. + ---------------- cor3ntin wrote:
I think we should backport that - so no changelog. The logic is that few people are going to use expansion statement so the risk is low - but shipping expansion statements with known bugs is less than useful. https://github.com/llvm/llvm-project/pull/217110 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
