| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 1264 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2349 SourceLocation FileLoc; in TranslateStoredDiagnostics() local 2353 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() 2354 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics() 2356 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics() 2359 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics() 2405 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local 2406 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl() 2500 SourceLocation FileLoc in mapLocationFromPreamble() local 2502 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 86 SourceLocation FileLoc; in TraverseDecl() local 88 FileLoc = DeclRange.getEnd(); in TraverseDecl() 90 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl() 91 if (SM.getFileID(FileLoc) != TargetFile) in TraverseDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 138 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 151 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer() 566 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 1123 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc() 1132 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() 1137 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc() 1152 if (FileLoc.isFileID()) in getSourceLocation() 1153 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 1158 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation() 2585 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 242 SourceLocation FileLoc; variable 313 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 350 const CommandTraits &Traits, SourceLocation FileLoc,
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 91 SourceLocation FileLoc; variable 150 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 178 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 742 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument 746 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 139 if (const json::Object *FileLoc = Obj->getObject("location")) { in createArtifactLocation() local 140 Optional<StringRef> URI = FileLoc->getString("uri"); in createArtifactLocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1714 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local 1717 return FileLoc; in translateLineCol() 1735 return FileLoc.getLocWithOffset(Size); in translateLineCol() 1742 return FileLoc.getLocWithOffset(FilePos); in translateLineCol() 1749 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 551 SourceLocation FileLoc);
|
| H A D | CGDebugInfo.cpp | 3115 SourceLocation FileLoc) { in CreateTempMacroFile() argument 3116 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5274 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 5275 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 5278 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|