| /minix3/external/bsd/llvm/dist/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 40 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 …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 237 SourceLocation FileLoc; variable 309 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 348 SourceLocation FileLoc,
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Lex/ |
| H A D | Lexer.h | 53 SourceLocation FileLoc; // Location for start of file. variable 108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 134 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Lex/ |
| H A D | Lexer.cpp | 111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 133 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer() 146 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) { in Lexer() 192 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer() 524 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 525 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken() 526 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken() 550 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local 551 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble() 1023 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 1304 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local 1305 OutDiag.Filename = SM.getFilename(FileLoc); in makeStandaloneDiagnostic() 1308 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2527 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() local 2528 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics() 2530 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics() 2537 SourceLocation BL = FileLoc.getLocWithOffset((*I).first); in TranslateStoredDiagnostics() 2538 SourceLocation EL = FileLoc.getLocWithOffset((*I).second); in TranslateStoredDiagnostics() 2550 SourceLocation BL = FileLoc.getLocWithOffset(I->RemoveRange.first); in TranslateStoredDiagnostics() 2551 SourceLocation EL = FileLoc.getLocWithOffset(I->RemoveRange.second); in TranslateStoredDiagnostics() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 215 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); in getSourceRange() local 216 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1)); in getSourceRange()
|
| /minix3/external/bsd/llvm/dist/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 373 SourceLocation FileLoc = SM.getFileLoc(Loc); in clang_getFileLocation() local 374 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc); in clang_getFileLocation()
|
| H A D | IndexingContext.cpp | 716 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile() local 717 FileID FID = SM.getFileID(FileLoc); in isNotFromSourceFile()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 716 SourceLocation FileLoc, in Lexer() argument 720 FileLoc(FileLoc), BufferPtr(BufferStart), in Lexer()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1725 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()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5168 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 5169 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 5172 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|