class ModuleLoadResult
Declaration
class ModuleLoadResult { /* full declaration omitted */ };
Description
Describes the result of attempting to load a module.
Declared at: clang/include/clang/Lex/ModuleLoader.h:35
Member Variables
- public llvm::PointerIntPair<Module*, 2, LoadResultKind> Storage
Method Overview
- public ModuleLoadResult()
- public ModuleLoadResult(clang::Module * M)
- public ModuleLoadResult(clang::ModuleLoadResult::LoadResultKind Kind)
- public bool isConfigMismatch() const
- public bool isMissingExpected() const
- public bool isNormal() const
- public clang::Module * operator clang::Module *() const
Methods
¶ModuleLoadResult()
ModuleLoadResult()
Declared at: clang/include/clang/Lex/ModuleLoader.h:51
¶ModuleLoadResult(clang::Module* M)
ModuleLoadResult(clang::Module* M)
Declared at: clang/include/clang/Lex/ModuleLoader.h:52
Parameters
¶ModuleLoadResult(
clang::ModuleLoadResult::LoadResultKind Kind)
ModuleLoadResult(
clang::ModuleLoadResult::LoadResultKind Kind)
Declared at: clang/include/clang/Lex/ModuleLoader.h:53
Parameters
- clang::ModuleLoadResult::LoadResultKind Kind
¶bool isConfigMismatch() const
bool isConfigMismatch() const
Description
Determines whether the module failed to load due to a configuration mismatch with an explicitly-named .pcm file from the command line.
Declared at: clang/include/clang/Lex/ModuleLoader.h:69
¶bool isMissingExpected() const
bool isMissingExpected() const
Description
Determines whether the module, which failed to load, was actually a submodule that we expected to see (based on implying the submodule from header structure), but didn't materialize in the actual module.
Declared at: clang/include/clang/Lex/ModuleLoader.h:65
¶bool isNormal() const
bool isNormal() const
Description
Determines whether this is a normal return, whether or not loading the module was successful.
Declared at: clang/include/clang/Lex/ModuleLoader.h:59
¶clang::Module* operator clang::Module*() const
clang::Module* operator clang::Module*() const
Declared at: clang/include/clang/Lex/ModuleLoader.h:55