[libcxx-commits] [PATCH] D76027: [libc++abi] NFC: Simplify extern C declaration

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 11 15:20:32 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe6eb942ffa4c: [libc++abi] NFC: Simplify extern C declaration (authored by ldionne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76027/new/

https://reviews.llvm.org/D76027

Files:
  libcxxabi/src/abort_message.h


Index: libcxxabi/src/abort_message.h
===================================================================
--- libcxxabi/src/abort_message.h
+++ libcxxabi/src/abort_message.h
@@ -11,16 +11,7 @@
 
 #include "cxxabi.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-_LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void
+extern "C" _LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void
 abort_message(const char *format, ...) __attribute__((format(printf, 1, 2)));
 
-#ifdef __cplusplus
-}
 #endif
-
-#endif
-


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76027.249780.patch
Type: text/x-patch
Size: 484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200311/4e4077fd/attachment-0001.bin>


More information about the libcxx-commits mailing list