mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
Change the name to be in style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223255 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99eff50c00
commit
788af07d5d
@ -138,7 +138,7 @@ public:
|
||||
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;
|
||||
|
@ -9084,7 +9084,7 @@ bool ARMAsmParser::parseDirectiveCPU(SMLoc L) {
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user