Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp42 unsigned FileLoc; member
47 Delta.FileLoc = Loc; in get()
191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
196 if (i != e && getValue(i).FileLoc == FileIndex) { 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()
372 assert(IChild->getValue(IChild->getNumValuesUsed()-1).FileLoc < in VerifyTree()
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1305 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation());
1306 OutDiag.Filename = std::string(SM.getFilename(FileLoc));
1309 OutDiag.LocOffset = SM.getFileOffset(FileLoc);
2397 SourceLocation FileLoc; in TranslateStoredDiagnostics()
2401 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2402 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2404 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2407 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2409 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2415 SourceLocation BL = FileLoc in TranslateStoredDiagnostics()
1293 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); makeStandaloneDiagnostic() local
2386 SourceLocation FileLoc; TranslateStoredDiagnostics() local
2442 SourceLocation FileLoc = SM.getFileLoc(Loc); addFileLevelDecl() local
2520 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); getLocation() local
2537 SourceLocation FileLoc mapLocationFromPreamble() local
2559 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); mapLocationToPreamble() local
[all...]
/freebsd-src/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-src/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-src/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp187 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)),
202 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Create_PragmaLexer()
265 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Stringify()
618 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in ComputePreamble()
619 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in ComputePreamble()
620 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in ComputePreamble()
644 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble()
645 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
787 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in getTokenPrefixLength()
1188 Preprocessor &PP, SourceLocation FileLoc, unsigne in Diag()
573 SourceLocation FileLoc = SM.getSpellingLoc(Loc); GetBeginningOfToken() local
599 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); ComputePreamble() local
1145 GetMappedTokenLoc(Preprocessor & PP,SourceLocation FileLoc,unsigned CharNo,unsigned TokLen) GetMappedTokenLoc() argument
[all...]
/freebsd-src/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-src/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp738 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument
742 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
/freebsd-src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp183 auto FileLoc = SM.getFileLoc(Loc); in operator ()()
184 FileID FID = SM.getFileID(FileLoc); in operator ()()
182 auto FileLoc = SM.getFileLoc(Loc); operator ()() local
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1667 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
1670 return FileLoc; in translateLineCol()
1688 return FileLoc.getLocWithOffset(Size); in translateLineCol()
1695 return FileLoc.getLocWithOffset(FilePos);
1702 return FileLoc.getLocWithOffset(FilePos + i); in computeMacroArgsCache()
1652 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); translateLineCol() local
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h614 SourceLocation FileLoc);
H A DCGDebugInfo.cpp3547 SourceLocation FileLoc) { in getOrCreateType()
3548 llvm::DIFile *FName = getOrCreateFile(FileLoc); in getOrCreateType()
3421 CreateTempMacroFile(llvm::DIMacroFile * Parent,SourceLocation LineLoc,SourceLocation FileLoc) CreateTempMacroFile() argument
/freebsd-src/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp6313 SourceLocation FileLoc = SM.getFileLoc(Loc); in ResolvedOperatorDelete()
6314 assert(SM.isLocalSourceLocation(FileLoc));
6317 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in CompletedImplicitDefinition()
5754 SourceLocation FileLoc = SM.getFileLoc(Loc); associateDeclWithFile() local