[clang] [C2y] Add stdcountof.h (PR #140890)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu May 22 07:10:59 PDT 2025


================
@@ -389,6 +389,7 @@ SYMBOL(cosh, None, <math.h>)
 SYMBOL(coshf, None, <math.h>)
 SYMBOL(coshl, None, <math.h>)
 SYMBOL(cosl, None, <math.h>)
+SYMBOL(countof, None, <stdcountof.h>)
----------------
AaronBallman wrote:

Yup, I missed:
```
// Generated from cppreference offline HTML book (modified on 2018-10-28).
//===----------------------------------------------------------------------===//
```
at the top of the file. So I'll pull this change back, good catch!

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


More information about the cfe-commits mailing list