4#include "clang/Frontend/CompilerInstance.h"
5#include "clang/Frontend/FrontendActions.h"
6#include "clang/Frontend/Utils.h"
16 bool sawDependency(llvm::StringRef Filename,
bool FromModule,
bool IsSystem,
bool IsModuleFile,
bool IsMissing)
override;
28 std::unique_ptr<myDependencyCollector>
col;
Action to compute the (header) dependencies of a source file.
virtual void EndSourceFileAction()
virtual bool usesPreprocessOnly() const
std::unique_ptr< myDependencyCollector > col
std::vector< std::string > * dependencies
bool BeginSourceFileAction(clang::CompilerInstance &ci)
This class sets the options for the collection of dependencies.
bool needSystemDependencies() override
bool sawDependency(llvm::StringRef Filename, bool FromModule, bool IsSystem, bool IsModuleFile, bool IsMissing) override