[PATCH] D111400: [Clang] Implement P2242R3
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 8 04:49:13 PDT 2021
cor3ntin created this revision.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Allow goto, label statements as well as
static, thread_local and non-literal variables in constexpr
functions.
The proposal is implemented as a language extension in older
language modes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111400
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Frontend/InitPreprocessor.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/basic/basic.types/p10.cpp
clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/dtor.cpp
clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
clang/test/Lexer/cxx-features.cpp
clang/test/SemaCXX/constant-expression-cxx14.cpp
clang/test/SemaCXX/cxx1z-constexpr-lambdas.cpp
clang/www/cxx_status.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111400.378169.patch
Type: text/x-patch
Size: 21174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211008/e297e11a/attachment-0001.bin>
More information about the cfe-commits
mailing list