@@ -52,9 +52,9 @@ static int printSupportedCPUs(llvm::StringRef triple) {
5252}
5353
5454// / Check that given CPU is valid for given target.
55- static bool checkSupportedCPU (
56- clang::DiagnosticsEngine& diags ,
57- llvm::StringRef str_cpu, llvm::StringRef str_triple) {
55+ static bool checkSupportedCPU (clang::DiagnosticsEngine &diags,
56+ llvm::StringRef str_cpu ,
57+ llvm::StringRef str_triple) {
5858
5959 llvm::Triple triple{str_triple};
6060
@@ -69,7 +69,7 @@ static bool checkSupportedCPU(
6969 llvm::X86::fillValidCPUArchList (validList, only64bit);
7070 if (!validList.empty ())
7171 diags.Report (clang::diag::note_valid_options)
72- << llvm::join (validList, " , " );
72+ << llvm::join (validList, " , " );
7373
7474 return false ;
7575 }
@@ -114,10 +114,8 @@ int fc1_main(llvm::ArrayRef<const char *> argv, const char *argv0) {
114114
115115 // Check that requested CPU can be properly supported
116116 success = success &&
117- checkSupportedCPU (
118- diags,
119- flang->getInvocation ().getTargetOpts ().cpu ,
120- flang->getInvocation ().getTargetOpts ().triple );
117+ checkSupportedCPU (diags, flang->getInvocation ().getTargetOpts ().cpu ,
118+ flang->getInvocation ().getTargetOpts ().triple );
121119
122120 diagsBuffer->flushDiagnostics (flang->getDiagnostics ());
123121
0 commit comments