[PATCH] D40218: [Clang] Add __builtin_launder

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 17:25:43 PST 2018


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

- Address inline comments about missing diagnostics for void pointers and function pointers.
- Address inline comments about only enabling when `-fstrict-vtable-pointers` is specified, and only on types with vtables.


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


More information about the cfe-commits mailing list