[clang] [clang][Tooling] Add special symbol mappings for C, starting with size_t (PR #85784)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 19 05:52:29 PDT 2024


================
@@ -0,0 +1,8 @@
+//===-- StdSpecialSymbolMap.inc -----------------------------------*- C -*-===//
+//
+// This is a hand-curated list for C symbols that cannot be parsed/extracted
+// via the include-mapping tool (gen_std.py).
+//
+//===----------------------------------------------------------------------===//
+
+SYMBOL(size_t, None, <stddef.h>)
----------------
hokein wrote:

I think we probably want to list all alternative headers as listed in https://en.cppreference.com/w/c/types/size_t. (we do it for C++ symbol as well.)

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


More information about the cfe-commits mailing list