clang 22.0.0git
clang::serialized_diags::Location Struct Reference

A location that is represented in the serialized diagnostics. More...

#include "clang/Frontend/SerializedDiagnosticReader.h"

Public Member Functions

 Location (unsigned FileID, unsigned Line, unsigned Col, unsigned Offset)

Public Attributes

unsigned FileID
unsigned Line
unsigned Col
unsigned Offset

Detailed Description

A location that is represented in the serialized diagnostics.

Definition at line 46 of file SerializedDiagnosticReader.h.

Constructor & Destructor Documentation

◆ Location()

clang::serialized_diags::Location::Location ( unsigned FileID,
unsigned Line,
unsigned Col,
unsigned Offset )
inline

Definition at line 52 of file SerializedDiagnosticReader.h.

References Col, FileID, Line, and Offset.

Member Data Documentation

◆ Col

unsigned clang::serialized_diags::Location::Col

Definition at line 49 of file SerializedDiagnosticReader.h.

Referenced by Location().

◆ FileID

unsigned clang::serialized_diags::Location::FileID

Definition at line 47 of file SerializedDiagnosticReader.h.

Referenced by Location().

◆ Line

unsigned clang::serialized_diags::Location::Line

Definition at line 48 of file SerializedDiagnosticReader.h.

Referenced by Location().

◆ Offset

unsigned clang::serialized_diags::Location::Offset

Definition at line 50 of file SerializedDiagnosticReader.h.

Referenced by Location().


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