clang 20.0.0 (based on r547379) from build 12806354. Bug: http://b/379133546 Test: N/A Change-Id: I2eb8938af55d809de674be63cb30cf27e801862b Upstream-Commit: ad834e67b1105d15ef907f6255d4c96e8e733f57
10 lines
354 B
C++
10 lines
354 B
C++
// CUDA headers define __noinline__ which interferes with libstdc++'s use of
|
|
// `__attribute((__noinline__))`. In order to avoid compilation error,
|
|
// temporarily unset __noinline__ when we include affected libstdc++ header.
|
|
|
|
#pragma push_macro("__noinline__")
|
|
#undef __noinline__
|
|
#include_next "bits/basic_string.tcc"
|
|
|
|
#pragma pop_macro("__noinline__")
|