|
clang 22.0.0git
|
Represents a range within a specific source file. More...
#include "clang/Tooling/Core/Diagnostic.h"
Public Member Functions | |
| FileByteRange ()=default | |
| FileByteRange (const SourceManager &Sources, CharSourceRange Range) | |
Public Attributes | |
| std::string | FilePath |
| unsigned | FileOffset |
| unsigned | Length |
Represents a range within a specific source file.
Definition at line 30 of file Diagnostic.h.
|
default |
| clang::tooling::FileByteRange::FileByteRange | ( | const SourceManager & | Sources, |
| CharSourceRange | Range ) |
Definition at line 38 of file Diagnostic.cpp.
References FileOffset, FilePath, clang::SourceManager::getFilename(), clang::SourceManager::getFileOffset(), and Length.
| unsigned clang::tooling::FileByteRange::FileOffset |
Definition at line 36 of file Diagnostic.h.
Referenced by FileByteRange(), and llvm::yaml::MappingTraits< clang::tooling::FileByteRange >::mapping().
| std::string clang::tooling::FileByteRange::FilePath |
Definition at line 35 of file Diagnostic.h.
Referenced by FileByteRange(), and llvm::yaml::MappingTraits< clang::tooling::FileByteRange >::mapping().
| unsigned clang::tooling::FileByteRange::Length |
Definition at line 37 of file Diagnostic.h.
Referenced by FileByteRange(), and llvm::yaml::MappingTraits< clang::tooling::FileByteRange >::mapping().