Home
last modified time | relevance | path

Searched refs:FileLoc (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDeltaTree.cpp41 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 DASTUnit.cpp1306 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 DASTSelection.cpp87 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 DCommentLexer.h242 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 DLexer.h93 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 DLexer.cpp186 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 DCommentLexer.cpp770 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument
774 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp182 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 DVisitor.cpp110 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 DSourceManager.cpp1672 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 DCGDebugInfo.h639 SourceLocation FileLoc);
H A DCGDebugInfo.cpp3788 SourceLocation FileLoc) { in CreateTempMacroFile() argument
3789 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp6968 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local
6969 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile()
6970 auto [FID, Offset] = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()