Author: Yaxun (Sam) Liu Date: 2021-05-21T17:44:18-04:00 New Revision: 91dfd68e90156dab3cbf11c9ae677cf60b2df65c
URL: https://github.com/llvm/llvm-project/commit/91dfd68e90156dab3cbf11c9ae677cf60b2df65c DIFF: https://github.com/llvm/llvm-project/commit/91dfd68e90156dab3cbf11c9ae677cf60b2df65c.diff LOG: [NFC][HIP] fix comments in __clang_hip_cmath.h Added: Modified: clang/lib/Headers/__clang_hip_cmath.h Removed: ################################################################################ diff --git a/clang/lib/Headers/__clang_hip_cmath.h b/clang/lib/Headers/__clang_hip_cmath.h index 5d7b75ffdcc0f..b5d7c16ac5e41 100644 --- a/clang/lib/Headers/__clang_hip_cmath.h +++ b/clang/lib/Headers/__clang_hip_cmath.h @@ -583,8 +583,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD namespace std { #ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION -#endif -#endif // !defined(__HIPCC_RTC__) +#endif // _GLIBCXX_BEGIN_NAMESPACE_VERSION +#endif // _LIBCPP_BEGIN_NAMESPACE_STD // Pull the new overloads we defined above into namespace std. // using ::abs; - This may be considered for C++. @@ -729,9 +729,9 @@ _LIBCPP_END_NAMESPACE_STD #else #ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION -#endif +#endif // _GLIBCXX_BEGIN_NAMESPACE_VERSION } // namespace std -#endif +#endif // _LIBCPP_END_NAMESPACE_STD #endif // !defined(__HIPCC_RTC__) // Define device-side math functions from <ymath.h> on MSVC. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits