diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-07-03 20:49:52 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-07-03 20:49:52 +0000 |
commit | 11d3f4cc27e6b923fc32481dc1bb5ec46c7d1f4b (patch) | |
tree | 555a41fbf7a33a4b636adedd17cfbacf1b3bfdc8 /lib/Basic/ObjCRuntime.cpp | |
parent | 1fc6e4fa79444b2a7be8a1150f646ffbde68b744 (diff) |
Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep
runtime to gnustep from gnu. Fix EH for the GCC runtime.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/ObjCRuntime.cpp')
-rw-r--r-- | lib/Basic/ObjCRuntime.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Basic/ObjCRuntime.cpp b/lib/Basic/ObjCRuntime.cpp index d66da0706f..0f30bfaa2c 100644 --- a/lib/Basic/ObjCRuntime.cpp +++ b/lib/Basic/ObjCRuntime.cpp @@ -30,8 +30,8 @@ raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) { case ObjCRuntime::MacOSX: out << "macosx"; break; case ObjCRuntime::FragileMacOSX: out << "macosx-fragile"; break; case ObjCRuntime::iOS: out << "ios"; break; - case ObjCRuntime::GNU: out << "gnu"; break; - case ObjCRuntime::FragileGNU: out << "gnu-fragile"; break; + case ObjCRuntime::GNUstep: out << "gnustep"; break; + case ObjCRuntime::GCC: out << "gcc"; break; } if (value.getVersion() > VersionTuple(0)) { out << '-' << value.getVersion(); @@ -60,10 +60,10 @@ bool ObjCRuntime::tryParse(StringRef input) { kind = ObjCRuntime::FragileMacOSX; } else if (runtimeName == "ios") { kind = ObjCRuntime::iOS; - } else if (runtimeName == "gnu") { - kind = ObjCRuntime::GNU; - } else if (runtimeName == "gnu-fragile") { - kind = ObjCRuntime::FragileGNU; + } else if (runtimeName == "gnustep") { + kind = ObjCRuntime::GNUstep; + } else if (runtimeName == "gcc") { + kind = ObjCRuntime::GCC; } else { return true; } |