Lines Matching refs:FID
558 FileID FID = SM.translateFile(*File); in ParseDirective() local
559 if (FID.isInvalid()) in ParseDirective()
560 FID = SM.createFileID(*File, Pos, SrcMgr::C_User); in ParseDirective()
563 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
566 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
749 FileID FID = SrcManager->getFileID(Loc); in HandleDiagnostic() local
751 auto FE = SrcManager->getFileEntryRefForID(FID); in HandleDiagnostic()
752 if (FE && CurrentPreprocessor && SrcManager->isLoadedFileID(FID)) { in HandleDiagnostic()
760 UpdateParsedFileStatus(*SrcManager, FID, PS); in HandleDiagnostic()
831 static bool findDirectives(SourceManager &SM, FileID FID, in findDirectives() argument
834 if (FID.isInvalid()) in findDirectives()
838 llvm::MemoryBufferRef FromFile = SM.getBufferOrFake(FID); in findDirectives()
839 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives()
1035 FileID FID, in UpdateParsedFileStatus() argument
1041 if (FID.isInvalid()) in UpdateParsedFileStatus()
1044 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID); in UpdateParsedFileStatus()
1048 UnparsedFiles.erase(FID); in UpdateParsedFileStatus()
1049 ParsedFiles.insert(std::make_pair(FID, FE ? &FE->getFileEntry() : nullptr)); in UpdateParsedFileStatus()
1050 } else if (!ParsedFiles.count(FID) && !UnparsedFiles.count(FID)) { in UpdateParsedFileStatus()
1058 FoundDirectives = !LangOpts || findDirectives(SM, FID, *LangOpts); in UpdateParsedFileStatus()
1061 UnparsedFiles.insert(std::make_pair(FID, in UpdateParsedFileStatus()