Searched refs:FileRange (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h51 struct FileRange { struct in namespace:clang::syntax
53 FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset);
55 FileRange(const SourceManager &SM, SourceLocation BeginLoc, unsigned Length);
58 FileRange(const SourceManager &SM, SourceLocation BeginLoc,
78 /// Gets the substring that this FileRange refers to.
85 friend bool operator==(const FileRange &L, const FileRange &R) {
88 friend bool operator!=(const FileRange &L, const FileRange &R) {
99 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const FileRange
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp56 FileRange syntax::Token::range(const SourceManager &SM) const {
61 return FileRange(File, StartOffset, StartOffset + length());
64 FileRange syntax::Token::range(const SourceManager &SM,
71 return FileRange(F.file(), F.beginOffset(), L.endOffset());
78 FileRange::FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset) function in class:FileRange
84 FileRange::FileRange(const SourceManager &SM, SourceLocation BeginLoc, function in class:FileRange
92 FileRange::FileRange(cons function in class:FileRange
[all...]
H A DComputeReplacements.cpp64 syntax::FileRange rangeOfExpanded(const syntax::Arena &A,
75 return syntax::FileRange(
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.h119 typedef lldb_private::Range<lldb::addr_t, lldb::addr_t> FileRange; typedef in class:ProcessElfCore
120 typedef lldb_private::RangeDataVector<lldb::addr_t, lldb::addr_t, FileRange>
H A DProcessElfCore.cpp118 FileRange file_range(header.p_offset, header.p_filesz);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1239 CharSourceRange FileRange = Lexer::makeFileCharRange(Range, SM, LangOpts); local
1240 unsigned Offset = SM.getFileOffset(FileRange.getBegin());
1241 unsigned EndOffset = SM.getFileOffset(FileRange.getEnd());

Completed in 185 milliseconds