mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Remove unused argument from AddFeature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9572a1c8c9
commit
33a4854fcb
@ -78,7 +78,7 @@ public:
|
|||||||
std::string getString() const;
|
std::string getString() const;
|
||||||
|
|
||||||
/// Adding Features.
|
/// 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
|
/// ToggleFeature - Toggle a feature and returns the newly updated feature
|
||||||
/// bits.
|
/// bits.
|
||||||
|
@ -109,12 +109,11 @@ static std::string Join(const std::vector<std::string> &V) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Adding features.
|
/// Adding features.
|
||||||
void SubtargetFeatures::AddFeature(const StringRef String,
|
void SubtargetFeatures::AddFeature(const StringRef String) {
|
||||||
bool IsEnabled) {
|
|
||||||
// Don't add empty features
|
// Don't add empty features
|
||||||
if (!String.empty()) {
|
if (!String.empty()) {
|
||||||
// Convert to lowercase, prepend flag and add to vector
|
// Convert to lowercase, prepend flag and add to vector
|
||||||
Features.push_back(PrependFlag(String.lower(), IsEnabled));
|
Features.push_back(PrependFlag(String.lower(), true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user