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

Methods

ModuleLoadResult()

Declared at: clang/include/clang/Lex/ModuleLoader.h:51

ModuleLoadResult(clang::Module* M)

Declared at: clang/include/clang/Lex/ModuleLoader.h:52

Parameters

clang::Module* M

ModuleLoadResult(
    clang::ModuleLoadResult::LoadResultKind Kind)

Declared at: clang/include/clang/Lex/ModuleLoader.h:53

Parameters

clang::ModuleLoadResult::LoadResultKind Kind

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

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

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

Declared at: clang/include/clang/Lex/ModuleLoader.h:55