]> granicus.if.org Git - clang/commit
move a bunch more integer sizing out of target-specific code into
authorChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2008 20:06:37 +0000 (20:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2008 20:06:37 +0000 (20:06 +0000)
commit0e5d4ef3155651af17a90fdc07d9f80b33935c0c
tree0ebbc699fd718f9770b433c1889b01f2e29d2bc7
parent78c8d80f19cb0bccd4f3d590e71a230e727cfab5
move a bunch more integer sizing out of target-specific code into
target indep code.

Note that this changes functionality on PIC16: it defines __INT_MAX__
correctly for it, and it changes sizeof(long) to 16-bits (to match
the size of pointer).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57132 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/Basic/Targets.cpp
lib/Lex/Preprocessor.cpp