Lines Matching defs:FileLoc

124     FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
146 : FileLoc(fileloc), LangOpts(langOpts) {
159 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) {
205 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
537 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
538 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
539 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
563 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset);
564 Lexer TheLexer(FileLoc, LangOpts, Buffer->getBufferStart(),
568 // StartLoc will differ from FileLoc if there is a BOM that was skipped.
1037 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1039 SourceLocation FileLoc,
1041 assert(FileLoc.isMacroID() && "Must be a macro expansion");
1044 // _Pragma handling. Combine the expansion location of FileLoc with the
1048 // Create a new SLoc which is expanded from Expansion(FileLoc) but whose
1049 // characters come from spelling(FileLoc)+Offset.
1050 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc);
1056 SM.getImmediateExpansionRange(FileLoc);
1069 // the file id from FileLoc with the offset specified.
1071 if (FileLoc.isFileID())
1072 return FileLoc.getLocWithOffset(CharNo);
1077 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen);
2270 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) {
2480 if (PP->getCodeCompletionFileLoc() != FileLoc)
2662 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart);