Although https://reviews.llvm.org/D124866 aims to fix bugs such as https://github.com/NVIDIA/thrust/issues/1703 or https://bugs.gentoo.org/857126 When I tried clang-15 rc2, the issue still exists. Reproduce method: pure C++ test.C ```c++ #define __noinline__ __attribute__((noinline)) #include<future> int main() { return 0; } ``` Run `clang++ test.C` HIP code example test.hip ```c++ #include <hip/hip_runtime.h> #include<future> int main() { return 0; } ``` Run `clang++ -nogpulib -nogpuinc -x hip test.hip` Both gives error: `g++-v12/bits/shared_ptr_base.h:196:22: error: use of undeclared identifier 'noinline'; did you mean 'inline'?`