clang API Documentation

Public Member Functions | Public Attributes
clang::Rewriter::RewriteOptions Struct Reference

#include <Rewriter.h>

Collaboration diagram for clang::Rewriter::RewriteOptions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RewriteOptions ()

Public Attributes

bool IncludeInsertsAtBeginOfRange
 Given a source range, true to include previous inserts at the beginning of the range as part of the range itself (true by default).
bool IncludeInsertsAtEndOfRange
 Given a source range, true to include previous inserts at the end of the range as part of the range itself (true by default).
bool RemoveLineIfEmpty
 If true and removing some text leaves a blank line also remove the empty line (false by default).

Detailed Description

Definition at line 131 of file Rewriter.h.


Constructor & Destructor Documentation

Definition at line 142 of file Rewriter.h.


Member Data Documentation

Given a source range, true to include previous inserts at the beginning of the range as part of the range itself (true by default).

Definition at line 134 of file Rewriter.h.

Referenced by clang::Rewriter::getRangeSize(), and clang::Rewriter::InsertTextAfterToken().

Given a source range, true to include previous inserts at the end of the range as part of the range itself (true by default).

Definition at line 137 of file Rewriter.h.

Referenced by clang::Rewriter::getRangeSize().

If true and removing some text leaves a blank line also remove the empty line (false by default).

Definition at line 140 of file Rewriter.h.

Referenced by clang::Rewriter::RemoveText().


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