14#ifndef LLVM_CLANG_EXTRACTAPI_FRONTEND_ACTIONS_H
15#define LLVM_CLANG_EXTRACTAPI_FRONTEND_ACTIONS_H
27 StringRef InFile)
override;
31 std::unique_ptr<extractapi::APISet> API;
34 std::unique_ptr<raw_pwrite_stream> OS;
37 std::string ProductName;
41 std::unique_ptr<llvm::MemoryBuffer> Buffer;
63 void EndSourceFileAction()
override;
65 static std::unique_ptr<llvm::raw_pwrite_stream>
68 static StringRef getInputBufferName() {
return "<extract-api-includes>"; }
This file defines the APIRecord-based structs and the APISet class.
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.