clang 23.0.0git
clang::tooling::FileByteRange Struct Reference

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

Detailed Description

Represents a range within a specific source file.

Definition at line 30 of file Diagnostic.h.

Constructor & Destructor Documentation

◆ FileByteRange() [1/2]

clang::tooling::FileByteRange::FileByteRange ( )
default

◆ FileByteRange() [2/2]

clang::tooling::FileByteRange::FileByteRange ( const SourceManager & Sources,
CharSourceRange Range )

Member Data Documentation

◆ FileOffset

unsigned clang::tooling::FileByteRange::FileOffset

Definition at line 36 of file Diagnostic.h.

Referenced by FileByteRange().

◆ FilePath

std::string clang::tooling::FileByteRange::FilePath

Definition at line 35 of file Diagnostic.h.

Referenced by FileByteRange().

◆ Length

unsigned clang::tooling::FileByteRange::Length

Definition at line 37 of file Diagnostic.h.

Referenced by FileByteRange().


The documentation for this struct was generated from the following files: