From 4fbf6581514a494c15b82ce2f9b6f79b24216c6f Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 21 Feb 2012 08:53:32 +0000 Subject: 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 --- include/llvm/ADT/Triple.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/llvm/ADT') 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 /// @{ -- cgit v1.1