diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2013-08-19 20:23:37 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2013-08-19 20:23:37 +0000 |
| commit | 834400b484ab617ab089b997c9c5d9c60c7204b1 (patch) | |
| tree | 33e28358bb6549ca7c43496389e499d963441dfa /clang/lib/Basic/Targets.cpp | |
| parent | 62f840f46a0b714d75beb42743a2d8080c9f265f (diff) | |
| download | bcm5719-llvm-834400b484ab617ab089b997c9c5d9c60c7204b1.tar.gz bcm5719-llvm-834400b484ab617ab089b997c9c5d9c60c7204b1.zip | |
Bump the value of the __APPLE_CC__ predefined macro up to 6000.
The previous value was set to match some ancient version of Apple's GCC.
The value should be higher than anything used by Apple's GCC, but we don't
intend for this value to be updated in the future. We have other macros to
identify compiler versions. <rdar://problem/14749599>
llvm-svn: 188700
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
| -rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index f3822edcd52..c4772723e90 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -88,7 +88,7 @@ static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, const llvm::Triple &Triple, StringRef &PlatformName, VersionTuple &PlatformMinVersion) { - Builder.defineMacro("__APPLE_CC__", "5621"); + Builder.defineMacro("__APPLE_CC__", "6000"); Builder.defineMacro("__APPLE__"); Builder.defineMacro("__MACH__"); Builder.defineMacro("OBJC_NEW_PROPERTIES"); |

