void initInstrItins(InstrItineraryData &InstrItins) const;
/// Check whether the CPU string is valid.
- bool CPUStringIsValid(StringRef CPU) {
+ bool isCPUStringValid(StringRef CPU) {
auto Found = std::find_if(ProcDesc.begin(), ProcDesc.end(),
[=](const SubtargetFeatureKV &KV) {
return CPU == KV.Key;
StringRef CPU = getParser().parseStringToEndOfStatement().trim();
getTargetStreamer().emitTextAttribute(ARMBuildAttrs::CPU_name, CPU);
- if (!STI.CPUStringIsValid(CPU)) {
+ if (!STI.isCPUStringValid(CPU)) {
Error(L, "Unknown CPU name");
return false;
}