[all-commits] [llvm/llvm-project] ac3e72: Make clang HIP headers compatible with C++98
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Fri Aug 7 10:51:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ac3e720dc1af9555c5591017bd2b6c7f6641a34d
https://github.com/llvm/llvm-project/commit/ac3e720dc1af9555c5591017bd2b6c7f6641a34d
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M clang/lib/Headers/__clang_hip_libdevice_declares.h
M clang/lib/Headers/__clang_hip_math.h
M clang/lib/Headers/__clang_hip_runtime_wrapper.h
Log Message:
-----------
Make clang HIP headers compatible with C++98
Automation to detect compiler features, such as CMake's target_compile_features,
would attempt to detect compiler features by explicitly using langugage flags.
This change ensures that the HIP headers would still work with C++98.
Patch by Siu Chi Chan
Differential Revision: https://reviews.llvm.org/D85471
Change-Id: I304e964b18a525b0fde55efd841da74b6c4dc8ed
More information about the All-commits
mailing list