[libcxx-commits] [libcxx] 9629c73 - [libc++] Remove a duplicated definition of _LIBCPP_NOINLINE (#79114)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 23 02:43:30 PST 2024


Author: Dmitri Gribenko
Date: 2024-01-23T11:43:26+01:00
New Revision: 9629c73aeb4609f58aa9edb0b87d18dd9e8fecc0

URL: https://github.com/llvm/llvm-project/commit/9629c73aeb4609f58aa9edb0b87d18dd9e8fecc0
DIFF: https://github.com/llvm/llvm-project/commit/9629c73aeb4609f58aa9edb0b87d18dd9e8fecc0.diff

LOG: [libc++] Remove a duplicated definition of _LIBCPP_NOINLINE (#79114)

I failed to delete the old definition as a part of
https://github.com/llvm/llvm-project/pull/73838.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index eab37e7576bdc3e..9557e8e8cf97f28 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -1235,12 +1235,6 @@ __sanitizer_verify_double_ended_contiguous_container(const void*, const void*, c
 #    define _LIBCPP_CONSTINIT
 #  endif
 
-#  if __has_attribute(__noinline__)
-#    define _LIBCPP_NOINLINE __attribute__((__noinline__))
-#  else
-#    define _LIBCPP_NOINLINE
-#  endif
-
 #  if defined(__CUDACC__) || defined(__CUDA_ARCH__) || defined(__CUDA_LIBDEVICE__)
 // The CUDA SDK contains an unfortunate definition for the __noinline__ macro,
 // which breaks the regular __attribute__((__noinline__)) syntax. Therefore,


        


More information about the libcxx-commits mailing list