Lines Matching refs:FileLoc
187 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
202 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer()
265 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
618 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
619 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
620 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
644 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
645 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
787 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble()
1188 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1190 SourceLocation FileLoc, in GetMappedTokenLoc() argument
1192 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc()
1201 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
1206 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
1221 if (FileLoc.isFileID()) in getSourceLocation()
1222 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
1227 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
2413 FileLoc.getLocWithOffset(StartOfFilename - BufferStart), in codeCompleteIncludedFile()
2414 FileLoc.getLocWithOffset(CompletionPoint - BufferStart)); in codeCompleteIncludedFile()
2891 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment()
3160 if (PP->getCodeCompletionFileLoc() != FileLoc) in LexEndOfFile()
3378 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()