clang
3.9.0
|
#include <Internals.h>
Classes | |
class | RewriteReceiver |
Definition at line 48 of file Internals.h.
TransformActions::TransformActions | ( | DiagnosticsEngine & | diag, |
CapturedDiagList & | capturedDiags, | ||
ASTContext & | ctx, | ||
Preprocessor & | PP | ||
) |
Definition at line 599 of file TransformActions.cpp.
TransformActions::~TransformActions | ( | ) |
Definition at line 606 of file TransformActions.cpp.
void TransformActions::abortTransaction | ( | ) |
Definition at line 618 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::abort().
void TransformActions::applyRewrites | ( | RewriteReceiver & | receiver | ) |
Definition at line 670 of file TransformActions.cpp.
|
inline |
Definition at line 75 of file Internals.h.
References clearDiagnostic(), and clang::None.
bool TransformActions::clearDiagnostic | ( | ArrayRef< unsigned > | IDs, |
SourceRange | range | ||
) |
Definition at line 665 of file TransformActions.cpp.
Referenced by checkAllAtProps(), checkWeakGCAttrs(), clearAllDiagnostics(), and clearDiagnostic().
|
inline |
Definition at line 78 of file Internals.h.
References clearDiagnostic().
|
inline |
Definition at line 82 of file Internals.h.
References clearDiagnostic().
bool TransformActions::commitTransaction | ( | ) |
Definition at line 614 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::~Transaction().
|
inline |
Definition at line 88 of file Internals.h.
References clang::arcmt::CapturedDiagList::hasDiagnostic().
|
inline |
Definition at line 92 of file Internals.h.
References clang::arcmt::CapturedDiagList::hasDiagnostic().
|
inline |
Definition at line 106 of file Internals.h.
References clang::DiagnosticsEngine::hasUnrecoverableErrorOccurred().
void TransformActions::increaseIndentation | ( | SourceRange | range, |
SourceLocation | parentIndent | ||
) |
Definition at line 659 of file TransformActions.cpp.
void TransformActions::insert | ( | SourceLocation | loc, |
StringRef | text | ||
) |
Definition at line 623 of file TransformActions.cpp.
Referenced by clang::arcmt::trans::MigrationContext::addPropertyAttribute(), and GCRewriteFinalize().
void TransformActions::insertAfterToken | ( | SourceLocation | loc, |
StringRef | text | ||
) |
Definition at line 627 of file TransformActions.cpp.
Referenced by GCRewriteFinalize().
void TransformActions::remove | ( | SourceRange | range | ) |
Definition at line 632 of file TransformActions.cpp.
Referenced by checkAllAtProps(), cleanupDeallocOrFinalize(), clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize(), and clang::arcmt::trans::MigrationContext::rewritePropertyAttribute().
void TransformActions::removeStmt | ( | Stmt * | S | ) |
Definition at line 636 of file TransformActions.cpp.
void TransformActions::replace | ( | SourceRange | range, |
StringRef | text | ||
) |
Definition at line 640 of file TransformActions.cpp.
Referenced by replace().
void TransformActions::replace | ( | SourceRange | range, |
SourceRange | replacementRange | ||
) |
Definition at line 644 of file TransformActions.cpp.
References replace().
void TransformActions::replaceStmt | ( | Stmt * | S, |
StringRef | text | ||
) |
Definition at line 649 of file TransformActions.cpp.
void TransformActions::replaceText | ( | SourceLocation | loc, |
StringRef | text, | ||
StringRef | replacementText | ||
) |
Definition at line 653 of file TransformActions.cpp.
Referenced by checkWeakGCAttrs(), cleanupDeallocOrFinalize(), clang::arcmt::trans::MigrationContext::rewritePropertyAttribute(), and clang::arcmt::trans::BlockObjCVariableTraverser::traverseBody().
DiagnosticBuilder TransformActions::report | ( | SourceLocation | loc, |
unsigned | diagId, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 674 of file TransformActions.cpp.
References clang::DiagnosticsEngine::Report().
Referenced by reportError(), reportNote(), and reportWarning().
void TransformActions::reportError | ( | StringRef | error, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 681 of file TransformActions.cpp.
References report().
Referenced by errorForGCAttrsOnNonObjC().
void TransformActions::reportNote | ( | StringRef | note, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 691 of file TransformActions.cpp.
References report().
void TransformActions::reportWarning | ( | StringRef | warning, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 686 of file TransformActions.cpp.
References report().
void TransformActions::startTransaction | ( | ) |
Definition at line 610 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::Transaction().