@@ -248,9 +248,10 @@ sortUsrToInfo(llvm::StringMap<std::unique_ptr<doc::Info>> &USRToInfo) {
248248}
249249
250250llvm::Error runMappingPhase (tooling::ToolExecutor *Executor,
251- clang::doc::ClangDocContext &CDCtx, tooling::ArgumentsAdjuster &ArgAdjuster, bool IgnoreMappingFailures ) {
252- auto Err =
253- Executor->execute (doc::newMapperActionFactory (CDCtx), ArgAdjuster);
251+ clang::doc::ClangDocContext &CDCtx,
252+ tooling::ArgumentsAdjuster &ArgAdjuster,
253+ bool IgnoreMappingFailures) {
254+ auto Err = Executor->execute (doc::newMapperActionFactory (CDCtx), ArgAdjuster);
254255 if (Err) {
255256 if (IgnoreMappingFailures) {
256257 llvm::errs () << " Error mapping decls in files. Clang-doc will ignore "
@@ -282,9 +283,7 @@ Example usage for a project using a compile commands database:
282283)" ;
283284
284285 auto Executor = ExitOnErr (clang::tooling::createExecutorFromCommandLineArgs (
285- argc, argv, ClangDocCategory, Overview));
286-
287-
286+ argc, argv, ClangDocCategory, Overview));
288287
289288 // Fail early if an invalid format was provided.
290289 std::string Format = getFormatString ();
@@ -319,7 +318,8 @@ Example usage for a project using a compile commands database:
319318
320319 // Mapping phase
321320 llvm::outs () << " Mapping decls...\n " ;
322- ExitOnErr (runMappingPhase (Executor.get (), CDCtx, ArgAdjuster, IgnoreMappingFailures));
321+ ExitOnErr (runMappingPhase (Executor.get (), CDCtx, ArgAdjuster,
322+ IgnoreMappingFailures));
323323
324324 // Collect values into output by key.
325325 // In ToolResults, the Key is the hashed USR and the value is the
0 commit comments