[clang] 385c8cd - [Tooling][Inclusions] Add c-header and global namespace alternatives for size_t

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 01:46:48 PST 2023


Author: Kadir Cetinkaya
Date: 2023-02-24T10:44:33+01:00
New Revision: 385c8cd3cd66052dee2dff01bfdbeb258191f2ff

URL: https://github.com/llvm/llvm-project/commit/385c8cd3cd66052dee2dff01bfdbeb258191f2ff
DIFF: https://github.com/llvm/llvm-project/commit/385c8cd3cd66052dee2dff01bfdbeb258191f2ff.diff

LOG: [Tooling][Inclusions] Add c-header and global namespace alternatives for size_t

Differential Revision: https://reviews.llvm.org/D144646

Added: 
    

Modified: 
    clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc

Removed: 
    


################################################################################
diff  --git a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
index c9632bee1cbec..119952be6fe3c 100644
--- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
+++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
@@ -22,6 +22,20 @@ SYMBOL(size_t, std::, <cwchar>)
 SYMBOL(size_t, std::, <cuchar>)
 SYMBOL(size_t, std::, <ctime>)
 SYMBOL(size_t, std::, <cstdio>)
+SYMBOL(size_t, None, <cstddef>)
+SYMBOL(size_t, None, <cstdlib>)
+SYMBOL(size_t, None, <cstring>)
+SYMBOL(size_t, None, <cwchar>)
+SYMBOL(size_t, None, <cuchar>)
+SYMBOL(size_t, None, <ctime>)
+SYMBOL(size_t, None, <cstdio>)
+SYMBOL(size_t, None, <stddef.h>)
+SYMBOL(size_t, None, <stdlib.h>)
+SYMBOL(size_t, None, <string.h>)
+SYMBOL(size_t, None, <wchar.h>)
+SYMBOL(size_t, None, <uchar.h>)
+SYMBOL(size_t, None, <time.h>)
+SYMBOL(size_t, None, <stdio.h>)
 SYMBOL(unwrap_ref_decay, std::, <type_traits>)
 SYMBOL(unwrap_ref_decay, std::, <functional>)
 SYMBOL(unwrap_reference, std::, <type_traits>)


        


More information about the cfe-commits mailing list