[PATCH] D144713: [Tooling/Includsion] Add the missing NULL symbol to the table.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 24 02:48:25 PST 2023
hokein created this revision.
hokein added a reviewer: kadircet.
Herald added a project: All.
hokein requested review of this revision.
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144713
Files:
clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
Index: clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
===================================================================
--- clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
+++ clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
@@ -237,3 +237,19 @@
// which is tricky to disambiguate without type information.
// Don't set any header for it, as it comes with the type header.
SYMBOL(get, std::, /*no headers*/)
+
+// Macros
+SYMBOL(NULL, , <cstddef>)
+SYMBOL(NULL, , <stddef.h>)
+SYMBOL(NULL, , <cstdlib>)
+SYMBOL(NULL, , <stdlib.h>)
+SYMBOL(NULL, , <cstring>)
+SYMBOL(NULL, , <string.h>)
+SYMBOL(NULL, , <cwchar>)
+SYMBOL(NULL, , <wchar.h>)
+SYMBOL(NULL, , <ctime>)
+SYMBOL(NULL, , <time.h>)
+SYMBOL(NULL, , <clocale>)
+SYMBOL(NULL, , <locale.h>)
+SYMBOL(NULL, , <cstdio>)
+SYMBOL(NULL, , <stdio.h>)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144713.500125.patch
Type: text/x-patch
Size: 839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230224/a3c54afd/attachment.bin>
More information about the cfe-commits
mailing list