Author: Aaron En Ye Shi
Date: 2020-10-06T15:26:56Z
New Revision: 8d2a0c115e245e86bba4ea1c70e6d34b552031a9

URL: 
https://github.com/llvm/llvm-project/commit/8d2a0c115e245e86bba4ea1c70e6d34b552031a9
DIFF: 
https://github.com/llvm/llvm-project/commit/8d2a0c115e245e86bba4ea1c70e6d34b552031a9.diff

LOG: [HIP] NFC Add comments to cmath functions

Add missing comments to cmath functions.

Differential Revision: https://reviews.llvm.org/D88837

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 067c7e6c9d1b..fea799ead32f 100644
--- a/clang/lib/Headers/__clang_hip_cmath.h
+++ b/clang/lib/Headers/__clang_hip_cmath.h
@@ -370,7 +370,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #endif
 
 // Pull the new overloads we defined above into namespace std.
-// using ::abs;
+// using ::abs; - This may be considered for C++.
 using ::acos;
 using ::acosh;
 using ::asin;
@@ -419,8 +419,8 @@ using ::logb;
 using ::lrint;
 using ::lround;
 using ::modf;
-// using ::nan;
-// using ::nanf;
+// using ::nan; - This may be considered for C++.
+// using ::nanf; - This may be considered for C++.
 // using ::nanl; - This is not yet defined.
 using ::nearbyint;
 using ::nextafter;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to