39 class ClangDocAction :
public clang::ASTFrontendAction {
43 std::unique_ptr<clang::ASTConsumer>
44 CreateASTConsumer(clang::CompilerInstance &Compiler,
45 llvm::StringRef InFile)
override {
46 return std::make_unique<MapASTVisitor>(&Compiler.getASTContext(), CDCtx);
52 return std::make_unique<ClangDocAction>(CDCtx);