summaryrefslogtreecommitdiff
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-04 18:37:26 +0000
committerEli Bendersky <eliben@google.com>2012-12-04 18:37:26 +0000
commitf659c0de6c7a4684a2a30c344ce6827ea87032d8 (patch)
treebc3df32103d9145ab4f5b7d24e6a76021439e127 /lib/Support/Triple.cpp
parentf6088d126e9110180f7db231bb58da9230a09537 (diff)
downloadllvm-f659c0de6c7a4684a2a30c344ce6827ea87032d8.tar.gz
llvm-f659c0de6c7a4684a2a30c344ce6827ea87032d8.tar.bz2
llvm-f659c0de6c7a4684a2a30c344ce6827ea87032d8.tar.xz
Make NaCl naming consistent. The triple OSType is called NaCl and is represented
textually as NativeClient. Also added a link to the native client project for readers unfamiliar with it. A Clang patch will follow shortly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r--lib/Support/Triple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index 0b49ae9733..eefb96bfee 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -125,7 +125,7 @@ const char *Triple::getOSTypeName(OSType Kind) {
case Haiku: return "haiku";
case Minix: return "minix";
case RTEMS: return "rtems";
- case NativeClient: return "nacl";
+ case NaCl: return "nacl";
case CNK: return "cnk";
case Bitrig: return "bitrig";
case AIX: return "aix";
@@ -272,7 +272,7 @@ static Triple::OSType parseOS(StringRef OSName) {
.StartsWith("haiku", Triple::Haiku)
.StartsWith("minix", Triple::Minix)
.StartsWith("rtems", Triple::RTEMS)
- .StartsWith("nacl", Triple::NativeClient)
+ .StartsWith("nacl", Triple::NaCl)
.StartsWith("cnk", Triple::CNK)
.StartsWith("bitrig", Triple::Bitrig)
.StartsWith("aix", Triple::AIX)