[PATCH] D40218: [Clang] Add __builtin_launder
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 18 19:37:52 PDT 2018
EricWF updated this revision to Diff 147639.
EricWF added a comment.
- Handle array types as requested.
- Attempt to handle incomplete class types. They are always considered in need of laundering. Including class templates who's instantiation hasn't been forced yet. @rsmith is this the correct thing to do?
https://reviews.llvm.org/D40218
Files:
include/clang/Basic/Builtins.def
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ExprConstant.cpp
lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaChecking.cpp
test/CodeGen/builtins.c
test/CodeGenCXX/builtin-launder.cpp
test/Preprocessor/feature_tests.c
test/Sema/builtins.c
test/SemaCXX/builtins.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40218.147639.patch
Type: text/x-patch
Size: 24945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180519/48795292/attachment-0001.bin>
More information about the cfe-commits
mailing list