[libc-commits] [libc] [libc] Only declare float128 math functions in the generated math.h if float128 type is supported. (PR #81010)

via libc-commits libc-commits at lists.llvm.org
Thu Feb 8 14:55:14 PST 2024


================
@@ -102,6 +102,12 @@ void writeAPIFromIndex(APIIndexer &G,
     llvm::Record *RetValSpec = FunctionSpec->getValueAsDef("Return");
     llvm::Record *ReturnType = RetValSpec->getValueAsDef("ReturnType");
 
+    bool Guarded =
----------------
michaelrj-google wrote:

nit: Add a comment that ideally we would group functions based on their guarding macro.

https://github.com/llvm/llvm-project/pull/81010


More information about the libc-commits mailing list