| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DeltaTree.cpp | 41 unsigned FileLoc; member 46 Delta.FileLoc = Loc; in get() 190 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 195 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion() 222 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion() 265 if (SubSplit.FileLoc < InsertRes->Split.FileLoc) in DoInsertion() 276 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion() 353 assert(N->getValue(i - 1).FileLoc < N->getValue(i).FileLoc); in VerifyTree() 367 assert(IN->getValue(i - 1).FileLoc < IVal.FileLoc); in VerifyTree() 372 assert(IChild->getValue(IChild->getNumValuesUsed() - 1).FileLoc < in VerifyTree() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 1306 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local 1307 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic() 1310 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2411 SourceLocation FileLoc; in TranslateStoredDiagnostics() local 2415 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() 2416 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics() 2418 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics() 2421 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics() 2423 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics() 2429 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 87 SourceLocation FileLoc; in TraverseDecl() local 89 FileLoc = DeclRange.getEnd(); in TraverseDecl() 91 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl() 92 if (SM.getFileID(FileLoc) != TargetFile) in TraverseDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 242 SourceLocation FileLoc; variable 313 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 353 const CommandTraits &Traits, SourceLocation FileLoc,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 93 SourceLocation FileLoc; variable 173 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 199 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 186 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 201 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer() 264 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer() 617 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 618 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken() 619 FileIDAndOffset FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken() 642 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local 643 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble() 785 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble() 1184 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 770 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument 774 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 182 auto FileLoc = SM.getFileLoc(Loc); in operator ()() local 183 FileID FID = SM.getFileID(FileLoc); in operator ()()
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | Visitor.cpp | 110 auto FileLoc = SrcMgr.getFileLoc(Loc); in getAccessForDecl() local 111 FileID ID = SrcMgr.getFileID(FileLoc); in getAccessForDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1672 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local 1675 return FileLoc; in translateLineCol() 1693 return FileLoc.getLocWithOffset(Size); in translateLineCol() 1700 return FileLoc.getLocWithOffset(FilePos); in translateLineCol() 1707 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 639 SourceLocation FileLoc);
|
| H A D | CGDebugInfo.cpp | 3788 SourceLocation FileLoc) { in CreateTempMacroFile() argument 3789 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 6968 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 6969 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 6970 auto [FID, Offset] = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|