clang-tools 8.0.0

ClangDoc.h
Go to the documentation of this file.
1 //===-- ClangDoc.h - ClangDoc -----------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file exposes a method to craete the FrontendActionFactory for the
11 // clang-doc tool. The factory runs the clang-doc mapper on a given set of
12 // source code files, storing the results key-value pairs in its
13 // ExecutionContext.
14 //
15 //===----------------------------------------------------------------------===//
16
17 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H
18 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H
19
20 #include "Representation.h"
21 #include "clang/Tooling/Execution.h"
22 #include "clang/Tooling/StandaloneExecution.h"
23 #include "clang/Tooling/Tooling.h"
24
25 namespace clang {
26 namespace doc {
27
28 std::unique_ptr<tooling::FrontendActionFactory>
29 newMapperActionFactory(ClangDocContext CDCtx);
30
31 } // namespace doc
32 } // namespace clang
33
34 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_CLANGDOC_H
Representation.h
clang
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Definition: ChangeNamespace.cpp:18
clang::doc::newMapperActionFactory
std::unique_ptr< tooling::FrontendActionFactory > newMapperActionFactory(ClangDocContext CDCtx)
Definition: ClangDoc.cpp:57