Lines Matching refs:FID
129 FileID FID = SrcManager->getFileID(Loc); in HandleDiagnostic() local
131 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic()
132 if (FE && CurrentPreprocessor && SrcManager->isLoadedFileID(FID)) { in HandleDiagnostic()
140 UpdateParsedFileStatus(*SrcManager, FID, PS); in HandleDiagnostic()
579 static bool findDirectives(SourceManager &SM, FileID FID, in findDirectives() argument
582 if (FID.isInvalid()) in findDirectives()
586 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in findDirectives()
587 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives()
775 FileID FID, in UpdateParsedFileStatus() argument
781 if (FID.isInvalid()) in UpdateParsedFileStatus()
784 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus()
788 UnparsedFiles.erase(FID); in UpdateParsedFileStatus()
789 ParsedFiles.insert(std::make_pair(FID, FE)); in UpdateParsedFileStatus()
790 } else if (!ParsedFiles.count(FID) && !UnparsedFiles.count(FID)) { in UpdateParsedFileStatus()
798 FoundDirectives = !LangOpts || findDirectives(SM, FID, *LangOpts); in UpdateParsedFileStatus()
801 UnparsedFiles.insert(std::make_pair(FID, in UpdateParsedFileStatus()