clang 22.0.0git
clang::StandaloneDiagnostic::SourceOffsetRange Struct Reference

Represents a CharSourceRange within a StandaloneDiagnostic. More...

#include "clang/Frontend/StandaloneDiagnostic.h"

Public Member Functions

 SourceOffsetRange (CharSourceRange Range, const SourceManager &SrcMgr, const LangOptions &LangOpts)

Public Attributes

unsigned Begin = 0
unsigned End = 0

Detailed Description

Represents a CharSourceRange within a StandaloneDiagnostic.

Definition at line 38 of file StandaloneDiagnostic.h.

Constructor & Destructor Documentation

◆ SourceOffsetRange()

clang::StandaloneDiagnostic::SourceOffsetRange::SourceOffsetRange ( CharSourceRange Range,
const SourceManager & SrcMgr,
const LangOptions & LangOpts )

Definition at line 14 of file StandaloneDiagnostic.cpp.

References Begin, End, and clang::Lexer::makeFileCharRange().

Member Data Documentation

◆ Begin

unsigned clang::StandaloneDiagnostic::SourceOffsetRange::Begin = 0

Definition at line 42 of file StandaloneDiagnostic.h.

Referenced by SourceOffsetRange().

◆ End

unsigned clang::StandaloneDiagnostic::SourceOffsetRange::End = 0

Definition at line 43 of file StandaloneDiagnostic.h.

Referenced by SourceOffsetRange().


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