Lines Matching defs:FileLoc
187 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
202 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment),
265 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
618 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
619 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
620 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
644 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset);
645 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(),
787 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(),
1188 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1190 SourceLocation FileLoc,
1192 assert(FileLoc.isMacroID() && "Must be a macro expansion");
1195 // _Pragma handling. Combine the expansion location of FileLoc with the
1199 // Create a new SLoc which is expanded from Expansion(FileLoc) but whose
1200 // characters come from spelling(FileLoc)+Offset.
1201 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc);
1206 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc);
1219 // the file id from FileLoc with the offset specified.
1221 if (FileLoc.isFileID())
1222 return FileLoc.getLocWithOffset(CharNo);
1227 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen);
2413 FileLoc.getLocWithOffset(StartOfFilename - BufferStart),
2414 FileLoc.getLocWithOffset(CompletionPoint - BufferStart));
2891 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) {
3160 if (PP->getCodeCompletionFileLoc() != FileLoc)
3378 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart);