35 class ClangDocAction :
public clang::ASTFrontendAction {
39 std::unique_ptr<clang::ASTConsumer>
40 CreateASTConsumer(clang::CompilerInstance &Compiler,
41 llvm::StringRef InFile)
override {
42 return std::make_unique<MapASTVisitor>(&Compiler.getASTContext(), CDCtx);
48 return std::make_unique<ClangDocAction>(CDCtx);