[PATCH] D144334: [Clang] Add C++2b attribute [[assume(expression)]]
Evgeny Shulgin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 18 13:16:36 PST 2023
Izaron created this revision.
Izaron added reviewers: clang-language-wg, aaron.ballman, rsmith, nikic.
Herald added a subscriber: StephenFan.
Herald added a project: All.
Izaron requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Clang already supports assumes for optimizing. Now it is standardized
in C++2b via a new attribute - https://wg21.link/p1774r8.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144334
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGStmt.cpp
clang/lib/Sema/SemaStmtAttr.cpp
clang/test/AST/ast-dump-attr.cpp
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.assume/p1.cpp
clang/test/CodeGenCXX/cxx2b-assume.cpp
clang/www/cxx_status.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144334.498621.patch
Type: text/x-patch
Size: 10288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230218/470113da/attachment-0001.bin>
More information about the cfe-commits
mailing list