================
@@ -787,31 +788,31 @@ TEST(TargetParserTest, ARMFPURestriction) {
 }
 
 TEST(TargetParserTest, ARMExtensionFeatures) {
-  std::map<uint64_t, std::vector<StringRef>> Extensions;
+  std::vector<std::tuple<ARM::ArchExtKind, StringRef, StringRef>> Extensions;
 
-  for (auto &Ext : ARM::ARCHExtNames) {
-    if (!Ext.Feature.empty() && !Ext.NegFeature.empty())
-      Extensions[Ext.ID] = {Ext.Feature, Ext.NegFeature};
+  for (auto &Ext : ARM::getArchExts()) {
+    if (!Ext.name(1).empty() && !Ext.name(2).empty())
----------------
mplatings wrote:

`name(1)` is a lot less clear than `Feature`

https://github.com/llvm/llvm-project/pull/206937
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to