mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 07:01:03 +08:00
Fix another occurrence of needing to use member accessors.
llvm-svn: 297637
This commit is contained in:
@@ -746,8 +746,8 @@ private:
|
||||
|
||||
int MatchAttributeIndex(llvm::StringRef attribute_name) const {
|
||||
for (const auto &Item : llvm::enumerate(s_filter_attributes)) {
|
||||
if (attribute_name == Item.Value)
|
||||
return Item.Index;
|
||||
if (attribute_name == Item.value())
|
||||
return Item.index();
|
||||
}
|
||||
|
||||
// We didn't match anything.
|
||||
|
||||
Reference in New Issue
Block a user