clang 22.0.0git
clang::StandaloneDiagnostic::StandaloneFixIt Struct Reference

Represents a FixItHint within a StandaloneDiagnostic. More...

#include "clang/Frontend/StandaloneDiagnostic.h"

Public Member Functions

 StandaloneFixIt (const SourceManager &SrcMgr, const LangOptions &LangOpts, const FixItHint &FixIt)

Public Attributes

SourceOffsetRange RemoveRange
SourceOffsetRange InsertFromRange
std::string CodeToInsert
bool BeforePreviousInsertions

Detailed Description

Represents a FixItHint within a StandaloneDiagnostic.

Definition at line 47 of file StandaloneDiagnostic.h.

Constructor & Destructor Documentation

◆ StandaloneFixIt()

clang::StandaloneDiagnostic::StandaloneFixIt::StandaloneFixIt ( const SourceManager & SrcMgr,
const LangOptions & LangOpts,
const FixItHint & FixIt )

Member Data Documentation

◆ BeforePreviousInsertions

bool clang::StandaloneDiagnostic::StandaloneFixIt::BeforePreviousInsertions

Definition at line 54 of file StandaloneDiagnostic.h.

Referenced by StandaloneFixIt().

◆ CodeToInsert

std::string clang::StandaloneDiagnostic::StandaloneFixIt::CodeToInsert

Definition at line 53 of file StandaloneDiagnostic.h.

Referenced by StandaloneFixIt().

◆ InsertFromRange

SourceOffsetRange clang::StandaloneDiagnostic::StandaloneFixIt::InsertFromRange

Definition at line 52 of file StandaloneDiagnostic.h.

Referenced by StandaloneFixIt().

◆ RemoveRange

SourceOffsetRange clang::StandaloneDiagnostic::StandaloneFixIt::RemoveRange

Definition at line 51 of file StandaloneDiagnostic.h.

Referenced by StandaloneFixIt().


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