clang 22.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

◆ FilePath

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

◆ Length

unsigned clang::tooling::FileByteRange::Length

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