diff options
author | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-19 13:42:09 +0000 |
---|---|---|
committer | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-19 13:42:09 +0000 |
commit | 7484e5d8e2f2d79750b712c749d6dbfd741b14d5 (patch) | |
tree | 4907e4525a7fc8ab5e4ff2f093df34257002fe70 /lib/Frontend/InitPreprocessor.cpp | |
parent | 8241d73c6415a2f5ab4c041c5501a95d7ee32663 (diff) |
Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/InitPreprocessor.cpp')
-rw-r--r-- | lib/Frontend/InitPreprocessor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index 759e5fcb6e..c2fd8d7360 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -396,6 +396,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI, DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Buf); DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Buf); DefineType("__SIZE_TYPE__", TI.getSizeType(), Buf); + DefineTypeWidth("__SIZE_WIDTH__", TI.getSizeType(), TI, Buf); DefineType("__WCHAR_TYPE__", TI.getWCharType(), Buf); DefineType("__WINT_TYPE__", TI.getWIntType(), Buf); |