Fix attribute placement WRT extern C
authorEric Fiselier <eric@efcs.ca>
Thu, 26 Jul 2018 03:36:37 +0000 (03:36 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 26 Jul 2018 03:36:37 +0000 (03:36 +0000)
llvm-svn: 337999

libcxx/src/experimental/filesystem/int128_builtins.cpp

index b168bf5..d8f2abb 100644 (file)
@@ -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;