Lines Matching refs:ASTReader
34 #include "clang/Serialization/ASTReader.h"
124 IntrusiveRefCntPtr<ASTReader> CompilerInstance::getModuleManager() const {
127 void CompilerInstance::setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader) {
417 IntrusiveRefCntPtr<ASTReader> CompilerInstance::createPCHExternalASTSource(
426 IntrusiveRefCntPtr<ASTReader> Reader(new ASTReader(
443 ASTReader::ARR_None)) {
444 case ASTReader::Success:
450 case ASTReader::Failure:
454 case ASTReader::Missing:
455 case ASTReader::OutOfDate:
456 case ASTReader::VersionMismatch:
457 case ASTReader::ConfigurationMismatch:
458 case ASTReader::HadErrors:
1048 unsigned ModuleLoadCapabilities = ASTReader::ARR_Missing;
1070 ModuleLoadCapabilities |= ASTReader::ARR_OutOfDate;
1085 ASTReader::ASTReadResult ReadResult =
1090 if (ReadResult == ASTReader::OutOfDate &&
1096 } else if (ReadResult == ASTReader::Missing) {
1098 } else if (ReadResult != ASTReader::Success &&
1100 // The ASTReader didn't diagnose the error, so conservatively report it.
1103 return ReadResult == ASTReader::Success;
1270 ModuleManager = new ASTReader(
1342 // If we don't already have an ASTReader, create one now.
1348 ASTReader::ListenerScope ReadModuleNamesListener(*ModuleManager,
1354 ASTReader::ARR_ConfigurationMismatch)) {
1355 case ASTReader::Success:
1361 case ASTReader::ConfigurationMismatch:
1435 // If we don't already have an ASTReader, create one now.
1445 unsigned ARRFlags = ASTReader::ARR_OutOfDate | ASTReader::ARR_Missing;
1449 case ASTReader::Success:
1452 case ASTReader::OutOfDate:
1453 case ASTReader::Missing: {
1504 case ASTReader::VersionMismatch:
1505 case ASTReader::ConfigurationMismatch:
1506 case ASTReader::HadErrors:
1508 // FIXME: The ASTReader will already have complained, but can we shoehorn
1513 case ASTReader::Failure: