15#ifndef LLVM_CLANG_EXTRACTAPI_FRONTEND_ACTIONS_H
16#define LLVM_CLANG_EXTRACTAPI_FRONTEND_ACTIONS_H
28 StringRef InFile)
override;
49 void EndSourceFileAction()
override;
51 static StringRef getInputBufferName() {
return "<extract-api-includes>"; }
53 static std::unique_ptr<llvm::raw_pwrite_stream>
73 StringRef InFile)
override;
78 bool CreatedASTConsumer =
false;
87 void EndSourceFileAction()
override;
89 static std::unique_ptr<llvm::raw_pwrite_stream>
90 CreateOutputFile(CompilerInstance &CI, StringRef InFile);
Defines the clang::FrontendAction interface and various convenience abstract classes (clang::ASTFront...
Abstract base class to use for AST consumer-based frontend actions.
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
virtual void EndSourceFile()
Perform any per-file post processing, deallocate per-file objects, and run statistics and output file...
A frontend action which simply wraps some other runtime-specified frontend action.
std::unique_ptr< FrontendAction > WrappedAction