Home
last modified time | relevance | path

Searched refs:FileLoc (Results 1 – 9 of 9) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Rewrite/
HDDeltaTree.cpp40 unsigned FileLoc; member
45 Delta.FileLoc = Loc; in get()
186 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
191 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
218 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
261 if (SubSplit.FileLoc < InsertRes->Split.FileLoc) in DoInsertion()
271 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion()
350 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree()
364 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree()
369 assert(IChild->getValue(IChild->getNumValuesUsed()-1).FileLoc < in VerifyTree()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDASTUnit.cpp1307 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local
1308 OutDiag.Filename = SM.getFilename(FileLoc); in makeStandaloneDiagnostic()
1311 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2533 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() local
2534 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2536 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2542 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
2543 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); in TranslateStoredDiagnostics()
2553 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2554 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDLexer.cpp111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
133 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer()
186 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
518 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
519 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
520 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
544 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
545 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
1017 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1019 SourceLocation FileLoc, in GetMappedTokenLoc() argument
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDCommentLexer.h237 SourceLocation FileLoc; variable
309 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
348 SourceLocation FileLoc,
/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDLexer.h53 SourceLocation FileLoc; // Location for start of file. variable
108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
134 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDASTUnit.h217 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); in getSourceRange() local
218 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1)); in getSourceRange()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDCommentLexer.cpp722 SourceLocation FileLoc, in Lexer() argument
726 FileLoc(FileLoc), BufferPtr(BufferStart), in Lexer()
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDSourceManager.cpp1725 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local
1728 return FileLoc; in translateLineCol()
1748 return FileLoc.getLocWithOffset(Size); in translateLineCol()
1756 return FileLoc.getLocWithOffset(FilePos); in translateLineCol()
1763 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriter.cpp5008 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local
5009 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile()
5012 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()