1 //===-- ClangDoc.h - ClangDoc -----------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
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
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"
27 std::unique_ptr
<tooling::FrontendActionFactory
>
28 newMapperActionFactory(ClangDocContext CDCtx
);
33 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H