diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-02-20 01:56:21 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-02-20 01:56:21 +0000 |
| commit | e2b34142c369fba25aa85082e442e2bc7eb62ae4 (patch) | |
| tree | d26eec37fa0bd5832b6d81f6265afdf3abded8f3 /clang/lib/Basic/Targets.cpp | |
| parent | d041a9bf2d99efe9ae4068eff98f5f5066cb717f (diff) | |
| download | bcm5719-llvm-e2b34142c369fba25aa85082e442e2bc7eb62ae4.tar.gz bcm5719-llvm-e2b34142c369fba25aa85082e442e2bc7eb62ae4.zip | |
intmax_t is long long on Darwin, not long.
<rdar://problem/11540697>
llvm-svn: 175588
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
| -rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index eaf2e7d05e6..4e66fe57391 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -3119,6 +3119,8 @@ class DarwinX86_64TargetInfo : public DarwinTargetInfo<X86_64TargetInfo> { public: DarwinX86_64TargetInfo(const std::string& triple) : DarwinTargetInfo<X86_64TargetInfo>(triple) { + IntMaxType = SignedLongLong; + UIntMaxType = UnsignedLongLong; Int64Type = SignedLongLong; MaxVectorAlign = 256; } |

