diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-02-21 08:53:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-02-21 08:53:32 +0000 |
commit | 4fbf6581514a494c15b82ce2f9b6f79b24216c6f (patch) | |
tree | ad14d5c251438257a1468f8fef3b65b77b188099 /include/llvm/ADT | |
parent | 0523f41841d0860b2e175a4b20d1ecefd7295c4a (diff) | |
download | external_llvm-4fbf6581514a494c15b82ce2f9b6f79b24216c6f.zip external_llvm-4fbf6581514a494c15b82ce2f9b6f79b24216c6f.tar.gz external_llvm-4fbf6581514a494c15b82ce2f9b6f79b24216c6f.tar.bz2 |
Pull the parsing helper functions out of the Triple interface entirely.
They're private static methods but we can just make them static
functions in the implementation. It makes the implementations a touch
more wordy, but takes another chunk out of the header file.
Also, take the opportunity to switch the names to the new coding
conventions.
No functionality changed here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/Triple.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index 272ede1..a47e506 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -123,11 +123,6 @@ private: /// The parsed Environment type. EnvironmentType Environment; - static ArchType ParseArch(StringRef ArchName); - static VendorType ParseVendor(StringRef VendorName); - static OSType ParseOS(StringRef OSName); - static EnvironmentType ParseEnvironment(StringRef EnvironmentName); - public: /// @name Constructors /// @{ |