clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::Rewriter::RewriteOptions Struct Reference

#include "clang/Rewrite/Core/Rewriter.h"

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

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). More...
 
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). More...
 
bool RemoveLineIfEmpty
 If true and removing some text leaves a blank line also remove the empty line (false by default). More...
 

Detailed Description

Definition at line 36 of file Rewriter.h.

Constructor & Destructor Documentation

◆ RewriteOptions()

clang::Rewriter::RewriteOptions::RewriteOptions ( )
inline

Definition at line 47 of file Rewriter.h.

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

Member Data Documentation

◆ IncludeInsertsAtBeginOfRange

bool clang::Rewriter::RewriteOptions::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).

Definition at line 39 of file Rewriter.h.

Referenced by clang::arcmt::getFileRemappings(), and clang::Rewriter::InsertTextAfterToken().

◆ IncludeInsertsAtEndOfRange

bool clang::Rewriter::RewriteOptions::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).

Definition at line 42 of file Rewriter.h.

Referenced by clang::arcmt::getFileRemappings().

◆ RemoveLineIfEmpty

bool clang::Rewriter::RewriteOptions::RemoveLineIfEmpty

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

Definition at line 45 of file Rewriter.h.

Referenced by clang::arcmt::getFileRemappings().


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