summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2009-11-25 22:44:18 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2009-11-25 22:44:18 +0000
commit308f6630a3f413ab32763bc78ab7802df372751d (patch)
treea3d9619398e9cfbe6b6ceeb1fa850fc90a982326 /include
parente7c9195706ce17b5016f74005ecab5523519deea (diff)
downloadllvm-308f6630a3f413ab32763bc78ab7802df372751d.tar.gz
llvm-308f6630a3f413ab32763bc78ab7802df372751d.tar.bz2
llvm-308f6630a3f413ab32763bc78ab7802df372751d.tar.xz
Rollback changes r89516: Added two SubtargetFeatures::AddFeatures methods, which accept a comma-separated string or already parsed command line parameters as input, and some code re-factoring to use these new methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/SubtargetFeature.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Target/SubtargetFeature.h b/include/llvm/Target/SubtargetFeature.h
index fb5dba1f6d..38a3cc2fef 100644
--- a/include/llvm/Target/SubtargetFeature.h
+++ b/include/llvm/Target/SubtargetFeature.h
@@ -22,7 +22,6 @@
#include <vector>
#include <cstring>
#include "llvm/ADT/Triple.h"
-#include "llvm/Support/CommandLine.h"
#include "llvm/System/DataTypes.h"
namespace llvm {
@@ -94,12 +93,6 @@ public:
/// Adding Features.
void AddFeature(const std::string &String, bool IsEnabled = true);
- /// Add a set of features from the comma-separated string.
- void AddFeatures(const std::string &String);
-
- /// Add a set of features from the parsed command line parameters.
- void AddFeatures(const cl::list<std::string> &List);
-
/// Get feature bits.
uint32_t getBits(const SubtargetFeatureKV *CPUTable,
size_t CPUTableSize,