diff --git a/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h b/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h index 0c9efccb1d8b..c950cbe167cd 100644 --- a/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h +++ b/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h @@ -1,4 +1,4 @@ -//===- DependencyScanningTool.h - clang-scan-deps service ------------===// +//===- DependencyScanningTool.h - clang-scan-deps service -----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -26,7 +26,9 @@ public: /// /// \param Compilations The reference to the compilation database that's /// used by the clang tool. - DependencyScanningTool(DependencyScanningService &Service, const clang::tooling::CompilationDatabase &Compilations); + DependencyScanningTool( + DependencyScanningService &Service, + const clang::tooling::CompilationDatabase &Compilations); /// Print out the dependency information into a string using the dependency /// file format that is specified in the options (-MD is the default) and @@ -34,7 +36,8 @@ public: /// /// \returns A \c StringError with the diagnostic output if clang errors /// occurred, dependency file contents otherwise. - llvm::Expected getDependencyFile(const std::string &Input, StringRef CWD); + llvm::Expected getDependencyFile(const std::string &Input, + StringRef CWD); private: DependencyScanningWorker Worker; diff --git a/clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp b/clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp index 5a6e2118a6ee..d2af1a9d110c 100644 --- a/clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp +++ b/clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp @@ -1,4 +1,4 @@ -//===- DependencyScanningTool.cpp - clang-scan-deps service ------------===// +//===- DependencyScanningTool.cpp - clang-scan-deps service ---------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -13,8 +13,10 @@ namespace clang{ namespace tooling{ namespace dependencies{ -DependencyScanningTool::DependencyScanningTool(DependencyScanningService &Service, -const tooling::CompilationDatabase &Compilations) : Worker(Service), Compilations(Compilations) {} +DependencyScanningTool::DependencyScanningTool( + DependencyScanningService &Service, + const tooling::CompilationDatabase &Compilations) + : Worker(Service), Compilations(Compilations) {} llvm::Expected DependencyScanningTool::getDependencyFile(const std::string &Input,