Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DASTUnit.cpp1259 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local
1260 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1263 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2348 SourceLocation FileLoc; in TranslateStoredDiagnostics() local
2352 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2353 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2355 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2358 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2360 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2366 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp138 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
151 : FileLoc(fileloc), LangOpts(langOpts) { in Lexer()
211 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
566 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken() local
567 SourceLocation BeginFileLoc = getBeginningOfFileToken(FileLoc, SM, LangOpts); in GetBeginningOfToken()
568 std::pair<FileID, unsigned> FileLocInfo = SM.getDecomposedLoc(FileLoc); in GetBeginningOfToken()
592 SourceLocation FileLoc = SourceLocation::getFromRawEncoding(StartOffset); in ComputePreamble() local
593 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble()
717 return PreambleBounds(End.getRawEncoding() - FileLoc.getRawEncoding(), in ComputePreamble()
1104 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp86 SourceLocation FileLoc; in TraverseDecl() local
88 FileLoc = DeclRange.getEnd(); in TraverseDecl()
90 FileLoc = SM.getSpellingLoc(DeclRange.getBegin()); in TraverseDecl()
91 if (SM.getFileID(FileLoc) != TargetFile) in TraverseDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCommentLexer.h242 SourceLocation FileLoc; variable
313 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
350 const CommandTraits &Traits, SourceLocation FileLoc,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h91 SourceLocation FileLoc; variable
150 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
178 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-refactor/
H A DTestSupport.cpp52 SourceLocation FileLoc = SM.getLocForStartOfFile(FID); in foreachRange() local
57 SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Range.Begin)); in foreachRange()
59 SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Range.End)); in foreachRange()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.cpp358 SourceLocation FileLoc = SM.getFileLoc(Loc); in clang_getFileLocation() local
359 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc); in clang_getFileLocation()
H A DCXIndexDataConsumer.cpp936 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile() local
937 FileID FID = SM.getFileID(FileLoc); in isNotFromSourceFile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCommentLexer.cpp742 const CommandTraits &Traits, SourceLocation FileLoc, in Lexer() argument
746 FileLoc(FileLoc), ParseCommands(ParseCommands), in Lexer()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp139 if (const json::Object *FileLoc = Obj->getObject("location")) { in createArtifactLocation() local
140 Optional<StringRef> URI = FileLoc->getString("uri"); in createArtifactLocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1712 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol() local
1715 return FileLoc; in translateLineCol()
1733 return FileLoc.getLocWithOffset(Size); in translateLineCol()
1740 return FileLoc.getLocWithOffset(FilePos); in translateLineCol()
1747 return FileLoc.getLocWithOffset(FilePos + i); in translateLineCol()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceScriptStmt.cpp254 return OS << FileLoc << "\n"; in log()
H A DResourceScriptStmt.h691 StringRef FileLoc; variable
697 : RCResource(Flags), Type(ResourceType), FileLoc(FileLocation), in UserDefinedResource()
H A DResourceFileWriter.cpp1307 return appendFile(Res->FileLoc); in writeUserDefinedBody()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h545 SourceLocation FileLoc);
H A DCGDebugInfo.cpp3133 SourceLocation FileLoc) { in CreateTempMacroFile() argument
3134 llvm::DIFile *FName = getOrCreateFile(FileLoc); in CreateTempMacroFile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp5274 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile() local
5275 assert(SM.isLocalSourceLocation(FileLoc)); in associateDeclWithFile()
5278 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in associateDeclWithFile()