[all-commits] [llvm/llvm-project] 959e69: [Clang] Fix HIP wrapper inclusion of 'algorithm' w...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Oct 2 09:43:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 959e69ab46405f36c374dfbfc2edc5b527923dae
https://github.com/llvm/llvm-project/commit/959e69ab46405f36c374dfbfc2edc5b527923dae
Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths:
M clang/lib/Headers/__clang_hip_math.h
Log Message:
-----------
[Clang] Fix HIP wrapper inclusion of 'algorithm' when using libc++ (#67981)
Summary:
The `algorithm` header included here sometimes caused issues when using
`libc++` over `libstdc++`. This was primarily because of the order they
were included in. This patch just gets rid of this dependency as it was
only used for min and max which are trivial to reimplement.
Fixes: https://github.com/llvm/llvm-project/issues/67938
More information about the All-commits
mailing list