@@ -110,16 +110,16 @@ static void Help(ArrayRef<StringRef> CPUNames,
110110 }
111111
112112 // Determine the length of the longest CPU and Feature entries.
113- unsigned MaxCPULen = getLongestEntryLength (CPUNames);
113+ unsigned MaxCPULen = getLongestEntryLength (CPUNames);
114114 unsigned MaxFeatLen = getLongestEntryLength (FeatTable);
115115
116116 // Print the CPU table.
117117 errs () << " Available CPUs for this target:\n\n " ;
118118 for (auto &CPUName : CPUNames) {
119119 if (CPUName == " apple-latest" )
120120 continue ;
121- errs () << format (" %-*s - Select the %s processor.\n " , MaxCPULen, CPUName. str (). c_str (),
122- CPUName.str ().c_str ());
121+ errs () << format (" %-*s - Select the %s processor.\n " , MaxCPULen,
122+ CPUName.str ().c_str (), CPUName. str (). c_str () );
123123 }
124124 errs () << ' \n ' ;
125125
@@ -160,8 +160,8 @@ static void cpuHelp(ArrayRef<StringRef> CPUNames) {
160160 PrintOnce = true ;
161161}
162162
163- static FeatureBitset getFeatures (MCSubtargetInfo &STI,
164- StringRef CPU, StringRef TuneCPU, StringRef FS,
163+ static FeatureBitset getFeatures (MCSubtargetInfo &STI, StringRef CPU,
164+ StringRef TuneCPU, StringRef FS,
165165 ArrayRef<StringRef> ProcNames,
166166 ArrayRef<SubtargetSubTypeKV> ProcDesc,
167167 ArrayRef<SubtargetFeatureKV> ProcFeatures) {
@@ -222,7 +222,8 @@ static FeatureBitset getFeatures(MCSubtargetInfo &STI,
222222
223223void MCSubtargetInfo::InitMCProcessorInfo (StringRef CPU, StringRef TuneCPU,
224224 StringRef FS) {
225- FeatureBits = getFeatures (*this , CPU, TuneCPU, FS, ProcNames, ProcDesc, ProcFeatures);
225+ FeatureBits =
226+ getFeatures (*this , CPU, TuneCPU, FS, ProcNames, ProcDesc, ProcFeatures);
226227 FeatureString = std::string (FS);
227228
228229 if (!TuneCPU.empty ())
@@ -233,20 +234,17 @@ void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef TuneCPU,
233234
234235void MCSubtargetInfo::setDefaultFeatures (StringRef CPU, StringRef TuneCPU,
235236 StringRef FS) {
236- FeatureBits = getFeatures (*this , CPU, TuneCPU, FS, ProcNames, ProcDesc, ProcFeatures);
237+ FeatureBits =
238+ getFeatures (*this , CPU, TuneCPU, FS, ProcNames, ProcDesc, ProcFeatures);
237239 FeatureString = std::string (FS);
238240}
239241
240- MCSubtargetInfo::MCSubtargetInfo (const Triple &TT, StringRef C, StringRef TC,
241- StringRef FS,
242- ArrayRef<StringRef> PN,
243- ArrayRef<SubtargetFeatureKV> PF,
244- ArrayRef<SubtargetSubTypeKV> PD,
245- const MCWriteProcResEntry *WPR,
246- const MCWriteLatencyEntry *WL,
247- const MCReadAdvanceEntry *RA,
248- const InstrStage *IS, const unsigned *OC,
249- const unsigned *FP)
242+ MCSubtargetInfo::MCSubtargetInfo (
243+ const Triple &TT, StringRef C, StringRef TC, StringRef FS,
244+ ArrayRef<StringRef> PN, ArrayRef<SubtargetFeatureKV> PF,
245+ ArrayRef<SubtargetSubTypeKV> PD, const MCWriteProcResEntry *WPR,
246+ const MCWriteLatencyEntry *WL, const MCReadAdvanceEntry *RA,
247+ const InstrStage *IS, const unsigned *OC, const unsigned *FP)
250248 : TargetTriple(TT), CPU(std::string(C)), TuneCPU(std::string(TC)),
251249 ProcNames(PN), ProcFeatures(PF), ProcDesc(PD), WriteProcResTable(WPR),
252250 WriteLatencyTable(WL), ReadAdvanceTable(RA), Stages(IS),
0 commit comments