Index: clang-tools-extra/clang-doc/tool/ClangDocMain.cpp =================================================================== --- clang-tools-extra/clang-doc/tool/ClangDocMain.cpp +++ clang-tools-extra/clang-doc/tool/ClangDocMain.cpp @@ -228,10 +228,10 @@ llvm::outs() << "Mapping decls...\n"; auto Err = Exec->get()->execute(doc::newMapperActionFactory(CDCtx), ArgAdjuster); - if (Err) { - llvm::errs() << toString(std::move(Err)) << "\n"; - return 1; - } + if (Err) + llvm::errs() << "Error mapping decls in files. Clang-doc will ignore these " + "files and continue:\n" + << toString(std::move(Err)) << "\n"; // Collect values into output by key. // In ToolResults, the Key is the hashed USR and the value is the