Skip to content

Commit 42bfaa7

Browse files
gribozavrcopybara-github
authored andcommitted
[libc++] Remove a duplicated definition of _LIBCPP_NOINLINE (#79114)
I failed to delete the old definition as a part of llvm/llvm-project#73838. NOKEYCHECK=True GitOrigin-RevId: 9629c73aeb4609f58aa9edb0b87d18dd9e8fecc0
1 parent c3f375b commit 42bfaa7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/__config

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,12 +1235,6 @@ __sanitizer_verify_double_ended_contiguous_container(const void*, const void*, c
12351235
# define _LIBCPP_CONSTINIT
12361236
# endif
12371237

1238-
# if __has_attribute(__noinline__)
1239-
# define _LIBCPP_NOINLINE __attribute__((__noinline__))
1240-
# else
1241-
# define _LIBCPP_NOINLINE
1242-
# endif
1243-
12441238
# if defined(__CUDACC__) || defined(__CUDA_ARCH__) || defined(__CUDA_LIBDEVICE__)
12451239
// The CUDA SDK contains an unfortunate definition for the __noinline__ macro,
12461240
// which breaks the regular __attribute__((__noinline__)) syntax. Therefore,

0 commit comments

Comments
 (0)