Author: ericwf
Date: Wed Jul 25 20:36:37 2018
New Revision: 337999

URL: http://llvm.org/viewvc/llvm-project?rev=337999&view=rev
Log:
Fix attribute placement WRT extern C

Modified:
    libcxx/trunk/src/experimental/filesystem/int128_builtins.cpp

Modified: libcxx/trunk/src/experimental/filesystem/int128_builtins.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/experimental/filesystem/int128_builtins.cpp?rev=337999&r1=337998&r2=337999&view=diff
==============================================================================
--- libcxx/trunk/src/experimental/filesystem/int128_builtins.cpp (original)
+++ libcxx/trunk/src/experimental/filesystem/int128_builtins.cpp Wed Jul 25 
20:36:37 2018
@@ -19,8 +19,8 @@
 
 #ifndef _LIBCPP_HAS_NO_INT128
 
-__attribute__((no_sanitize("undefined"))) extern "C" __int128_t
-__muloti4(__int128_t a, __int128_t b, int* overflow) {
+extern "C" __attribute__((no_sanitize("undefined")))
+__int128_t __muloti4(__int128_t a, __int128_t b, int* overflow) {
   const int N = (int)(sizeof(__int128_t) * CHAR_BIT);
   const __int128_t MIN = (__int128_t)1 << (N - 1);
   const __int128_t MAX = ~MIN;


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to