| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 43 unsigned FileLoc; member 48 Delta.FileLoc = Loc; in get() 192 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 224 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion() 267 if (SubSplit.FileLoc < InsertRes->Split.FileLoc) in DoInsertion() 277 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion() 354 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree() 368 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree() 374 IVal.FileLoc); in VerifyTree() 377 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc); in VerifyTree() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 1247 OutDiag.Filename = SM.getFilename(FileLoc); in makeStandaloneDiagnostic() 1250 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2347 SourceLocation FileLoc; in TranslateStoredDiagnostics() local 2351 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics() 2354 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics() 2357 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics() 2403 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local 2404 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl() 2498 SourceLocation FileLoc in mapLocationFromPreamble() local 2500 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | Lexer.cpp | 136 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 149 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer() 555 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 1098 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc() 1107 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc() 1112 CharSourceRange II = SM.getImmediateExpansionRange(FileLoc); in GetMappedTokenLoc() 1127 if (FileLoc.isFileID()) in getSourceLocation() 1128 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 1133 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation() 2520 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { in SkipBlockComment() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 88 SourceLocation FileLoc; in TraverseDecl() local 90 FileLoc = DeclRange.getEnd(); in TraverseDecl() 92 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl() 93 if (SM.getFileID(FileLoc) != TargetFile) in TraverseDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 236 SourceLocation FileLoc; variable 313 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 350 const CommandTraits &Traits, SourceLocation FileLoc,
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | Lexer.h | 92 SourceLocation FileLoc; variable 147 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 175 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 129 if (const json::Object *FileLoc = Obj->getObject("fileLocation")) { in createFileLocation() local 130 Optional<StringRef> URI = FileLoc->getString("uri"); in createFileLocation()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 743 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument 747 BufferStart(BufferStart), BufferEnd(BufferEnd), FileLoc(FileLoc), in Lexer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1698 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local 1701 return FileLoc; in translateLineCol() 1721 return FileLoc.getLocWithOffset(Size); in translateLineCol() 1729 return FileLoc.getLocWithOffset(FilePos); in translateLineCol() 1736 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 495 SourceLocation FileLoc);
|
| H A D | CGDebugInfo.cpp | 2717 SourceLocation FileLoc) { in CreateTempMacroFile() argument 2718 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5576 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 5577 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 5580 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|