git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208002
91177308-0d34-0410-b5e6-
96231b3b80d8
std::string getString() const;
/// Adding Features.
- void AddFeature(const StringRef String, bool IsEnabled = true);
+ void AddFeature(const StringRef String);
/// ToggleFeature - Toggle a feature and returns the newly updated feature
/// bits.
}
/// Adding features.
-void SubtargetFeatures::AddFeature(const StringRef String,
- bool IsEnabled) {
+void SubtargetFeatures::AddFeature(const StringRef String) {
// Don't add empty features
if (!String.empty()) {
// Convert to lowercase, prepend flag and add to vector
- Features.push_back(PrependFlag(String.lower(), IsEnabled));
+ Features.push_back(PrependFlag(String.lower(), true));
}
}