[PATCH] D157750: Properly handle -fsplit-machine-functions for fatbinary compilation

2023-08-17 Thread Dmitry Chernenkov via Phabricator via cfe-commits
steelannelida added inline comments. Comment at: clang/test/Driver/fsplit-machine-functions-with-cuda-nvptx.c:16 +// causes a warning. +// RUN: %clang --target=x86_64-unknown-linux-gnu -nogpulib -nogpuinc \ +// RUN: --cuda-gpu-arch=sm_70 -x cuda -fsplit-machine-functions -S

[PATCH] D153156: [Clang] CWG1473: do not err on the lack of space after operator""

2023-08-18 Thread Dmitry Chernenkov via Phabricator via cfe-commits
steelannelida added a comment. Unfortunately the option -Wno-reserved-user-defined-literal fails after this: #define MYTHING "_something_" const char* f() { return "ONE"MYTHING"TWO"; } $ clang -Wno-reserved-user-defined-literal repro.cxx repro.cxx:4:15: error: no matching litera