aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-09-18 06:44:07 -0700
committerGitHub <noreply@github.com>2024-09-18 06:44:07 -0700
commitba8c96593c78cda44523abf2abcd7faeef0471af (patch)
tree1160a3dac78e5c44d79fb7621b18abddef701f19 /clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
parent0d736e296c2feed7709e002d5972ed60844b6b56 (diff)
downloadllvm-ba8c96593c78cda44523abf2abcd7faeef0471af.zip
llvm-ba8c96593c78cda44523abf2abcd7faeef0471af.tar.gz
llvm-ba8c96593c78cda44523abf2abcd7faeef0471af.tar.bz2
[Clang] Do not implicitly link C libraries for the GPU targets (#109052)
Summary: I initially thought that it would be convenient to automatically link these libraries like they are for standard C/C++ targets. However, this created issues when trying to use C++ as a GPU target. This patch moves the logic to now implicitly pass it as part of the offloading toolchain instead, if found. This means that the user needs to set the target toolchain for the link job for automatic detection, but can still be done manually via `-Xoffload-linker -lc`.
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp')
0 files changed, 0 insertions, 0 deletions