Lines Matching refs:FileLoc
139 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
154 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer()
217 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
570 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
571 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
572 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
596 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
597 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
723 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble()
1123 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1125 SourceLocation FileLoc, in GetMappedTokenLoc() argument
1127 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc()
1136 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
1141 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
1156 if (FileLoc.isFileID()) in getSourceLocation()
1157 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
1162 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
2226 FileLoc.getLocWithOffset(StartOfFilename - BufferStart), in codeCompleteIncludedFile()
2227 FileLoc.getLocWithOffset(CompletionPoint - BufferStart)); in codeCompleteIncludedFile()
2704 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment()
2973 if (PP->getCodeCompletionFileLoc() != FileLoc) in LexEndOfFile()
3191 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()