================
@@ -470,17 +470,17 @@ std::vector<std::string> RISCVISAInfo::toFeatures(bool
AddAllExtensions,
bool IgnoreUnknown) const {
std::vector<std::string> Features;
for (auto const &Ext : Exts) {
- std::string ExtName = Ext.first;
+ StringRef ExtName = Ext.first;
----------------
compnerd wrote:
Can we just use destructuring yet?
```c++
for (const auto &[ExtName, _] : Exts) {
```
https://github.com/llvm/llvm-project/pull/76942
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits