Bump version to 19.1.0git
[llvm-project.git] / clang-tools-extra / clang-doc / ClangDoc.h
blob1f0c43d70db176f81aab89c8db84bc792e42a027
1 //===-- ClangDoc.h - ClangDoc -----------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file exposes a method to create the FrontendActionFactory for the
10 // clang-doc tool. The factory runs the clang-doc mapper on a given set of
11 // source code files, storing the results key-value pairs in its
12 // ExecutionContext.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H
17 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H
19 #include "Representation.h"
20 #include "clang/Tooling/Execution.h"
21 #include "clang/Tooling/StandaloneExecution.h"
22 #include "clang/Tooling/Tooling.h"
24 namespace clang {
25 namespace doc {
27 std::unique_ptr<tooling::FrontendActionFactory>
28 newMapperActionFactory(ClangDocContext CDCtx);
30 } // namespace doc
31 } // namespace clang
33 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H