commit | fa45143d9b070b5e0e76031dbba1fca99ecd06ab | [log] [tgz] |
---|---|---|
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Fri Oct 31 09:52:39 2008 +0000 |
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Fri Oct 31 09:52:39 2008 +0000 |
tree | 7d952a94384a81825468b68d59b257c7fe8ac780 | |
parent | e8d0ba7eeb4e9c7a304adc0d3372ab818d833ebf [diff] |
Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wchar etc more generic. For some targets, long may not be equal to pointer size. For example: PIC16 has int as i16, ptr as i16 but long as i32. Also fixed a few build warnings in assert() functions in CFRefCount.cpp, CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58501 91177308-0d34-0410-b5e6-96231b3b80d8