clang  8.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::edit::Commit::Edit Struct Reference

#include "clang/Edit/Commit.h"

Collaboration diagram for clang::edit::Commit::Edit:
Collaboration graph
[legend]

Public Member Functions

SourceLocation getFileLocation (SourceManager &SM) const
 
CharSourceRange getFileRange (SourceManager &SM) const
 
CharSourceRange getInsertFromRange (SourceManager &SM) const
 

Public Attributes

EditKind Kind
 
StringRef Text
 
SourceLocation OrigLoc
 
FileOffset Offset
 
FileOffset InsertFromRangeOffs
 
unsigned Length
 
bool BeforePrev
 

Detailed Description

Definition at line 38 of file Commit.h.

Member Function Documentation

◆ getFileLocation()

SourceLocation Commit::Edit::getFileLocation ( SourceManager SM) const

◆ getFileRange()

CharSourceRange Commit::Edit::getFileRange ( SourceManager SM) const

◆ getInsertFromRange()

CharSourceRange Commit::Edit::getInsertFromRange ( SourceManager SM) const

Member Data Documentation

◆ BeforePrev

bool clang::edit::Commit::Edit::BeforePrev

Definition at line 45 of file Commit.h.

Referenced by clang::edit::EditedSource::commit(), and clang::edit::Commit::replaceText().

◆ InsertFromRangeOffs

FileOffset clang::edit::Commit::Edit::InsertFromRangeOffs

◆ Kind

EditKind clang::edit::Commit::Edit::Kind

Definition at line 39 of file Commit.h.

Referenced by clang::edit::EditedSource::commit(), and clang::edit::Commit::replaceText().

◆ Length

unsigned clang::edit::Commit::Edit::Length

◆ Offset

FileOffset clang::edit::Commit::Edit::Offset

Definition at line 42 of file Commit.h.

Referenced by clang::edit::EditedSource::commit(), and clang::edit::Commit::replaceText().

◆ OrigLoc

SourceLocation clang::edit::Commit::Edit::OrigLoc

◆ Text

StringRef clang::edit::Commit::Edit::Text

Definition at line 40 of file Commit.h.

Referenced by clang::edit::EditedSource::commit(), and clang::edit::Commit::replaceText().


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