Home | History | Annotate | Download | only in Lex

Lines Matching refs:FileLoc

119     FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
139 Lexer::Lexer(SourceLocation fileloc, const LangOptions &langOpts,
141 : FileLoc(fileloc), LangOpts(langOpts) {
154 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) {
200 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
531 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
532 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
533 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
557 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset);
558 Lexer TheLexer(FileLoc, LangOpts, Buffer->getBufferStart(),
561 // StartLoc will differ from FileLoc if there is a BOM that was skipped.
1027 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1029 SourceLocation FileLoc,
1031 assert(FileLoc.isMacroID() && "Must be a macro expansion");
1034 // _Pragma handling. Combine the expansion location of FileLoc with the
1038 // Create a new SLoc which is expanded from Expansion(FileLoc) but whose
1039 // characters come from spelling(FileLoc)+Offset.
1040 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc);
1046 SM.getImmediateExpansionRange(FileLoc);
1059 // the file id from FileLoc with the offset specified.
1061 if (FileLoc.isFileID())
1062 return FileLoc.getLocWithOffset(CharNo);
1067 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen);
2176 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) {
2386 if (PP->getCodeCompletionFileLoc() != FileLoc)
2545 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart);