================
@@ -678,6 +677,64 @@ void
PPCTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features,
}
}
+bool PPCTargetInfo::isValidFeatureName(StringRef Name) const {
+ if (Name.empty())
+ return false;
+ // TODO: filter out unknown features
+ return true;
+}
----------------
ZarkoT wrote:
Maybe this function can be removed?
https://github.com/llvm/llvm-project/pull/177428
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits