[PATCH] D122249: [Clang] Add a compatibiliy warning for non-literals in constexpr.
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 22 13:05:25 PDT 2022
cor3ntin updated this revision to Diff 417376.
cor3ntin added a comment.
- fix formatting
- use cxx2b in the test as per aaron request. This doesn't really matter as this part
of the test file is only executed in c++2b mode though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122249/new/
https://reviews.llvm.org/D122249
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
clang/test/SemaCXX/constant-expression-cxx2b.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122249.417376.patch
Type: text/x-patch
Size: 6054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220322/9be9a8ca/attachment.bin>
More information about the cfe-commits
mailing list