diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-07-20 07:19:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-20 07:19:04 -0500 |
commit | 54de554ab8654c7a1f39199c1a491bc80edbba53 (patch) | |
tree | 69325dff064e0b19df790599d20404804d55add3 /clang/lib/Basic/IdentifierTable.cpp | |
parent | d8116cfbd6708a79a19ae2e4d15f2d602407972b (diff) | |
download | llvm-54de554ab8654c7a1f39199c1a491bc80edbba53.zip llvm-54de554ab8654c7a1f39199c1a491bc80edbba53.tar.gz llvm-54de554ab8654c7a1f39199c1a491bc80edbba53.tar.bz2 |
[Clang] Fix C library wrappers for offloading (#99716)
Summary:
This block of code wraps around the standard C library includes.
However, the order C library includes are presented is actually
important. If they are visible before the `libc++` headers then it will
cause errors. This patch simply moves the logic to just before it is
normally done. A more optimal solution would be to put this in the
toolchain, however doing it correctly would require knowing the
offloading kind and that would require rewriting the function signature
in all 30 or so ToolChains.
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions