enum ASTReader::ASTReadResult

Description

The result of reading the control block of an AST file, which can fail for various reasons.

Declared at: clang/include/clang/Serialization/ASTReader.h:366

Enumerators

NameValueComment
Success0The control block was read successfully. Aside from failures, the AST file is safe to read into the current context.
Failure1The AST file itself appears corrupted.
Missing2The AST file was missing.
OutOfDate3The AST file is out-of-date relative to its input files, and needs to be regenerated.
VersionMismatch4The AST file was written by a different version of Clang.
ConfigurationMismatch5The AST file was writtten with a different language/target configuration.
HadErrors6The AST file has errors.