[libcxx-commits] [libcxx] [libcxxabi] [libunwind] [llvm] [libc++] Enable -Wmissing-prototypes (PR #116261)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 21 08:27:48 PST 2025


================
@@ -18,9 +18,12 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 
 namespace __itoa {
 
+_LIBCPP_DIAGNOSTIC_PUSH
+_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wmissing-prototypes")
+// These functions exist for ABI compatibility, so we don't ever want a declaration.
----------------
ldionne wrote:

```suggestion
// These functions exist for ABI compatibility, so we don't ever want a declaration prior to the definition.
```

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


More information about the libcxx-commits mailing list