summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-doc/tool
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2018-10-26 19:11:34 +0000
committerJulie Hockett <juliehockett@google.com>2018-10-26 19:11:34 +0000
commit9e22b4c76d7214002e446d28b5fa31102b529e99 (patch)
tree5c7fca53480541f875fa1cd248d79282f5a79546 /clang-tools-extra/clang-doc/tool
parenta6cb25676e1575af9edf819c5aabf993e4c42ee0 (diff)
downloadbcm5719-llvm-9e22b4c76d7214002e446d28b5fa31102b529e99.tar.gz
bcm5719-llvm-9e22b4c76d7214002e446d28b5fa31102b529e99.zip
[clang-doc] Switch to default to all-TUs executor
Since we generally want to document a whole project, not just one file. Differential Revision: https://reviews.llvm.org/D53170 llvm-svn: 345418
Diffstat (limited to 'clang-tools-extra/clang-doc/tool')
-rw-r--r--clang-tools-extra/clang-doc/tool/ClangDocMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp b/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
index d8559aae2b5..71ca2d91ac6 100644
--- a/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+++ b/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
@@ -31,7 +31,6 @@
#include "clang/Frontend/FrontendActions.h"
#include "clang/Tooling/CommonOptionsParser.h"
#include "clang/Tooling/Execution.h"
-#include "clang/Tooling/StandaloneExecution.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/Support/CommandLine.h"
@@ -169,6 +168,7 @@ int main(int argc, const char **argv) {
llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
std::error_code OK;
+ ExecutorName.setInitialValue("all-TUs");
auto Exec = clang::tooling::createExecutorFromCommandLineArgs(
argc, argv, ClangDocCategory);
OpenPOWER on IntegriCloud