Lines Matching refs:FileLoc
111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
133 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer()
186 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
518 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
519 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
520 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
544 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
545 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
1017 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1019 SourceLocation FileLoc, in GetMappedTokenLoc() argument
1021 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc()
1030 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
1036 SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
1051 if (FileLoc.isFileID()) in getSourceLocation()
1052 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
1057 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
2296 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment()
2507 if (PP->getCodeCompletionFileLoc() != FileLoc) in LexEndOfFile()
2688 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()