mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-15 16:28:48 +00:00
Update comment to match code behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cefca10039
commit
74381e237b
@ -82,7 +82,7 @@ static std::string Join(const std::vector<std::string> &V) {
|
||||
|
||||
/// Adding features.
|
||||
void SubtargetFeatures::AddFeature(StringRef String) {
|
||||
// Don't add empty features or features we already have.
|
||||
// Don't add empty features.
|
||||
if (!String.empty())
|
||||
// Convert to lowercase, prepend flag if we don't already have a flag.
|
||||
Features.push_back(hasFlag(String) ? String.str() : "+" + String.lower());
|
||||
|
Loading…
x
Reference in New Issue
Block a user