[libc-commits] [libc] [libc] Add __iso99_fscanf alias. (PR #213125)

via libc-commits libc-commits at lists.llvm.org
Fri Jul 31 14:49:48 PDT 2026


================
@@ -36,3 +36,7 @@ LLVM_LIBC_FUNCTION(int, fscanf,
 }
 
 } // namespace LIBC_NAMESPACE_DECL
+
+#ifdef LIBC_STDIO_ADD_ISO99_FSCANF
+LLVM_LIBC_ADD_FUNCTION_C_ALIAS(fscanf, __isoc99_fscanf);
+#endif // LIBC_STDIO_ADD_ISO99_FSCANF
----------------
lntue wrote:

It's not straightforward to add specific config overlay vs full build.  It might be better to explicit adding this config in overlay precommit CIs.

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


More information about the libc-commits mailing list