[all-commits] [llvm/llvm-project] c65fa9: [C23] Fix compound literals within function protot...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Mar 20 05:04:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c65fa9163e47af5e86b2a187dd45ae665cf5a996
https://github.com/llvm/llvm-project/commit/c65fa9163e47af5e86b2a187dd45ae665cf5a996
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/ByteCode/literals.cpp
M clang/test/C/C23/n2819.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Fix compound literals within function prototype (#132097)
WG14 N2819 clarified that a compound literal within a function prototype
has a lifetime similar to that of a local variable within the function,
not a file scope variable.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list