[PATCH] D14411: Use __attribute__((internal_linkage)) when available.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 18:20:41 PST 2015


rsmith added a subscriber: rsmith.

================
Comment at: include/__config:237
@@ +236,3 @@
+#if __has_attribute(internal_linkage)
+#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((internal_linkage))
+#else
----------------
Use `__internal_linkage__` here. Users are allowed to #define `internal_linkage` before including this header. (x4)


Repository:
  rL LLVM

http://reviews.llvm.org/D14411





More information about the cfe-commits mailing list