/freebsd/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() 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/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1305 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local 1306 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic() 1309 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic() 2397 SourceLocation FileLoc; in TranslateStoredDiagnostics() local 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.getLocWithOffset(Range.first); in TranslateStoredDiagnostics() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelection.cpp | 87 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 D | CommentLexer.h | 242 SourceLocation FileLoc; variable 313 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() 353 const CommandTraits &Traits, SourceLocation FileLoc,
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 187 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer() 202 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer() 265 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer() 618 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local 619 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken() 620 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken() 644 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local 645 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble() 787 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble() 1188 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | CommentLexer.cpp | 738 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument 742 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 183 auto FileLoc = SM.getFileLoc(Loc); in operator ()() local 184 FileID FID = SM.getFileID(FileLoc); in operator ()()
|
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
H A D | Visitor.cpp | 111 auto FileLoc = SrcMgr.getFileLoc(Loc); in getAccessForDecl() local 112 FileID ID = SrcMgr.getFileID(FileLoc); in getAccessForDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1667 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local 1670 return FileLoc; in translateLineCol() 1688 return FileLoc.getLocWithOffset(Size); in translateLineCol() 1695 return FileLoc.getLocWithOffset(FilePos); in translateLineCol() 1702 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 614 SourceLocation FileLoc);
|
H A D | CGDebugInfo.cpp | 3547 SourceLocation FileLoc) { in CreateTempMacroFile() argument 3548 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 6313 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local 6314 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile() 6317 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()
|