Searched refs:FileLoc (Results 1 - 11 of 11) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp42 unsigned FileLoc; member in struct:__anon3109::SourceDelta
47 Delta.FileLoc = Loc;
191 while (i != e && FileIndex > getValue(i).FileLoc)
196 if (i != e && getValue(i).FileLoc == FileIndex) {
223 if (InsertRes->Split.FileLoc > FileIndex)
266 if (SubSplit.FileLoc < InsertRes->Split.FileLoc)
274 // Find the insertion point, the first delta whose index is >SubSplit.FileLoc.
276 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc)
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCommentLexer.h235 SourceLocation FileLoc; member in class:clang::comments::Lexer
312 return FileLoc.getLocWithOffset(CharNo);
349 const CommandTraits &Traits, SourceLocation FileLoc,
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h91 SourceLocation FileLoc; member in class:clang::Lexer
146 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
174 SourceLocation getFileLoc() const { return FileLoc; }
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp87 SourceLocation FileLoc; local
89 FileLoc = DeclRange.getEnd();
91 FileLoc = SM.getSpellingLoc(DeclRange.getBegin());
92 if (SM.getFileID(FileLoc) != TargetFile)
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1268 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); local
1269 OutDiag.Filename = SM.getFilename(FileLoc);
1272 OutDiag.LocOffset = SM.getFileOffset(FileLoc);
2371 SourceLocation FileLoc; local
2375 FileLoc = SrcMgr.getLocForStartOfFile(FID);
2376 PreambleSrcLocCache[SD.Filename] = FileLoc;
2378 FileLoc = ItFileID->getValue();
2381 if (FileLoc.isInvalid())
2383 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset);
2389 SourceLocation BL = FileLoc
2505 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); local
2522 SourceLocation FileLoc local
2544 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); local
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp135 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
148 : FileLoc(fileloc), LangOpts(langOpts) {
208 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID),
563 SourceLocation FileLoc = SM.getSpellingLoc(Loc);
564 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts);
565 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc);
589 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); local
590 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(),
714 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(),
1101 Preprocessor &PP, SourceLocation FileLoc, unsigne
1102 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp131 if (const json::Object *FileLoc = Obj->getObject("location")) {
132 Optional<StringRef> URI = FileLoc->getString("uri");
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1646 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset());
1649 return FileLoc;
1669 return FileLoc.getLocWithOffset(Size);
1677 return FileLoc.getLocWithOffset(FilePos);
1684 return FileLoc.getLocWithOffset(FilePos + i);
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h530 SourceLocation FileLoc);
H A DCGDebugInfo.cpp2875 SourceLocation FileLoc) {
2876 llvm::DIFile *FName = getOrCreateFile(FileLoc);
2873 CreateTempMacroFile(llvm::DIMacroFile *Parent, SourceLocation LineLoc, SourceLocation FileLoc) argument
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5325 SourceLocation FileLoc = SM.getFileLoc(Loc);
5326 assert(SM.isLocalSourceLocation(FileLoc));
5329 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc);

Completed in 233 milliseconds