@@ -52,7 +52,9 @@ static int printSupportedCPUs(llvm::StringRef triple) {
5252}
5353
5454// / Check that given CPU is valid for given target.
55- static bool checkSupportedCPU (clang::DiagnosticsEngine& diags, llvm::StringRef str_cpu, llvm::StringRef str_triple) {
55+ static bool checkSupportedCPU (
56+ clang::DiagnosticsEngine& diags,
57+ llvm::StringRef str_cpu, llvm::StringRef str_triple) {
5658
5759 llvm::Triple triple{str_triple};
5860
@@ -66,7 +68,8 @@ static bool checkSupportedCPU(clang::DiagnosticsEngine& diags, llvm::StringRef s
6668 llvm::SmallVector<llvm::StringRef, 32 > validList;
6769 llvm::X86::fillValidCPUArchList (validList, only64bit);
6870 if (!validList.empty ())
69- diags.Report (clang::diag::note_valid_options) << llvm::join (validList, " , " );
71+ diags.Report (clang::diag::note_valid_options)
72+ << llvm::join (validList, " , " );
7073
7174 return false ;
7275 }
@@ -111,7 +114,10 @@ int fc1_main(llvm::ArrayRef<const char *> argv, const char *argv0) {
111114
112115 // Check that requested CPU can be properly supported
113116 success = success &&
114- checkSupportedCPU (diags, flang->getInvocation ().getTargetOpts ().cpu , flang->getInvocation ().getTargetOpts ().triple );
117+ checkSupportedCPU (
118+ diags,
119+ flang->getInvocation ().getTargetOpts ().cpu ,
120+ flang->getInvocation ().getTargetOpts ().triple );
115121
116122 diagsBuffer->flushDiagnostics (flang->getDiagnostics ());
117123
0 commit comments