Warning: This file is not a C or C++ file. It does not have highlighting.

1// CUDA headers define __noinline__ which interferes with libstdc++'s use of
2// `__attribute((__noinline__))`. In order to avoid compilation error,
3// temporarily unset __noinline__ when we include affected libstdc++ header.
4
5#pragma push_macro("__noinline__")
6#undef __noinline__
7#include_next "bits/basic_string.h"
8
9#pragma pop_macro("__noinline__")
10

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of clang/lib/Headers/cuda_wrappers/bits/basic_string.h