• Home
  • Raw
  • Download

Lines Matching refs:FileLoc

138       FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),  in Lexer()
151 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer()
211 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
566 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
567 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
568 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
592 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
593 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
717 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble()
1104 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1106 SourceLocation FileLoc, in GetMappedTokenLoc() argument
1108 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc()
1117 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
1122 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc()
1137 if (FileLoc.isFileID()) in getSourceLocation()
1138 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
1143 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
2121 FileLoc.getLocWithOffset(StartOfFilename - BufferStart), in codeCompleteIncludedFile()
2122 FileLoc.getLocWithOffset(CompletionPoint - BufferStart)); in codeCompleteIncludedFile()
2554 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment()
2772 if (PP->getCodeCompletionFileLoc() != FileLoc) in LexEndOfFile()
2983 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()