[PATCH] D40218: [Clang] Add __builtin_launder

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 21 13:48:21 PDT 2018


EricWF updated this revision to Diff 139363.
EricWF marked an inline comment as done.
EricWF added a comment.

- Launder types with subobjects of dynamic class type.
- Improve diagnostic selection using `llvm::Optional<unsigned>`.
- Add comment about LTO ABI concerns to test file.
- Merge with master.


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.139363.patch
Type: text/x-patch
Size: 18518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180321/e13050af/attachment-0001.bin>


More information about the cfe-commits mailing list