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
Name | Value | Comment |
---|---|---|
Success | 0 | The control block was read successfully. Aside from failures, the AST file is safe to read into the current context. |
Failure | 1 | The AST file itself appears corrupted. |
Missing | 2 | The AST file was missing. |
OutOfDate | 3 | The AST file is out-of-date relative to its input files, and needs to be regenerated. |
VersionMismatch | 4 | The AST file was written by a different version of Clang. |
ConfigurationMismatch | 5 | The AST file was writtten with a different language/target configuration. |
HadErrors | 6 | The AST file has errors. |