9 #ifndef liblldb_ClangModulesDeclVendor_h 10 #define liblldb_ClangModulesDeclVendor_h 54 ModuleVector *exported_modules,
77 ModuleVector &exported_modules,
95 std::function<
bool(
const std::string &)> handler) = 0;
111 #endif // liblldb_ClangModulesDeclVendor_h
Enumerations for broadcasting.
A stream class that can stream formatted output to a file.
static ClangModulesDeclVendor * Create(Target &target)
virtual bool AddModulesForCompileUnit(CompileUnit &cu, ModuleVector &exported_modules, Stream &error_stream)=0
Add all modules referred to in a given compilation unit to the list of modules to search...
A class that describes a compilation unit.
virtual bool AddModule(const SourceModule &module, ModuleVector *exported_modules, Stream &error_stream)=0
Add a module to the list of modules to search.
LanguageType
Programming language type.
std::vector< ModuleID > ModuleVector
std::vector< ConstString > ModulePath
virtual void ForEachMacro(const ModuleVector &modules, std::function< bool(const std::string &)> handler)=0
Enumerate all the macros that are defined by a given set of modules that are already imported...
static bool LanguageSupportsClangModules(lldb::LanguageType language)
Query whether Clang supports modules for a particular language.
Information needed to import a source-language module.
~ClangModulesDeclVendor() override