clang API Documentation
#include <Rewriter.h>
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). |
Definition at line 131 of file Rewriter.h.
clang::Rewriter::RewriteOptions::RewriteOptions | ( | ) | [inline] |
Definition at line 142 of file Rewriter.h.
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().