summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/Triple.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-02-21 08:53:32 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-02-21 08:53:32 +0000
commit4fbf6581514a494c15b82ce2f9b6f79b24216c6f (patch)
treead14d5c251438257a1468f8fef3b65b77b188099 /include/llvm/ADT/Triple.h
parent0523f41841d0860b2e175a4b20d1ecefd7295c4a (diff)
downloadllvm-4fbf6581514a494c15b82ce2f9b6f79b24216c6f.tar.gz
llvm-4fbf6581514a494c15b82ce2f9b6f79b24216c6f.tar.bz2
llvm-4fbf6581514a494c15b82ce2f9b6f79b24216c6f.tar.xz
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/Triple.h')
-rw-r--r--include/llvm/ADT/Triple.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h
index 272ede1738..a47e5063d5 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
/// @{