| /freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 42 unsigned FileLoc; member 47 Delta.FileLoc = Loc; in get() 191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 223 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion() 266 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() 373 IVal.FileLoc); in VerifyTree() 376 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc); in VerifyTree() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 1297 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2386 SourceLocation FileLoc; in TranslateStoredDiagnostics() local 2390 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() 2391 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics() 2393 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics() 2396 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics() 2442 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local 2443 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl() 2537 SourceLocation FileLoc in mapLocationFromPreamble() local 2539 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 142 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 573 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 1145 SourceLocation FileLoc, in GetMappedTokenLoc() argument 1147 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc() 1156 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() 1161 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc() 1176 if (FileLoc.isFileID()) in getSourceLocation() 1177 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 1182 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation() 2835 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment() [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 738 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument 742 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1652 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local 1655 return FileLoc; in translateLineCol() 1673 return FileLoc.getLocWithOffset(Size); in translateLineCol() 1680 return FileLoc.getLocWithOffset(FilePos); in translateLineCol() 1687 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 598 SourceLocation FileLoc);
|
| H A D | CGDebugInfo.cpp | 3421 SourceLocation FileLoc) { in CreateTempMacroFile() argument 3422 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5754 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 5755 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 5758 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|