Lines Matching defs:FileLoc

186       FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
201 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment),
264 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
617 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
618 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
619 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
643 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset);
644 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(),
786 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(),
1187 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1189 SourceLocation FileLoc,
1191 assert(FileLoc.isMacroID() && "Must be a macro expansion");
1194 // _Pragma handling. Combine the expansion location of FileLoc with the
1198 // Create a new SLoc which is expanded from Expansion(FileLoc) but whose
1199 // characters come from spelling(FileLoc)+Offset.
1200 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc);
1205 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc);
1218 // the file id from FileLoc with the offset specified.
1220 if (FileLoc.isFileID())
1221 return FileLoc.getLocWithOffset(CharNo);
1226 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen);
2435 FileLoc.getLocWithOffset(StartOfFilename - BufferStart),
2436 FileLoc.getLocWithOffset(CompletionPoint - BufferStart));
2915 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) {
3184 if (PP->getCodeCompletionFileLoc() != FileLoc)
3402 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart);