diff options
author | Eli Bendersky <eliben@google.com> | 2012-12-04 18:37:26 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-12-04 18:37:26 +0000 |
commit | f659c0de6c7a4684a2a30c344ce6827ea87032d8 (patch) | |
tree | bc3df32103d9145ab4f5b7d24e6a76021439e127 /lib/Target/ARM/ARMSubtarget.h | |
parent | f6088d126e9110180f7db231bb58da9230a09537 (diff) |
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/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 46898cfd8f..c7e3adcb51 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -244,7 +244,7 @@ protected: bool isTargetIOS() const { return TargetTriple.getOS() == Triple::IOS; } bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } bool isTargetNaCl() const { - return TargetTriple.getOS() == Triple::NativeClient; + return TargetTriple.getOS() == Triple::NaCl; } bool isTargetELF() const { return !isTargetDarwin(); } |