Lines Matching refs:FileLoc
138 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
153 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer()
216 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
569 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
570 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
571 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
595 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
596 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
722 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble()
1124 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1126 SourceLocation FileLoc, in GetMappedTokenLoc() argument
1128 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc()
1137 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
1142 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
1157 if (FileLoc.isFileID()) in getSourceLocation()
1158 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
1163 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
2287 FileLoc.getLocWithOffset(StartOfFilename - BufferStart), in codeCompleteIncludedFile()
2288 FileLoc.getLocWithOffset(CompletionPoint - BufferStart)); in codeCompleteIncludedFile()
2765 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment()
3034 if (PP->getCodeCompletionFileLoc() != FileLoc) in LexEndOfFile()
3252 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()