clang API Documentation
#include <Internals.h>
Definition at line 48 of file Internals.h.
TransformActions::TransformActions | ( | DiagnosticsEngine & | diag, |
CapturedDiagList & | capturedDiags, | ||
ASTContext & | ctx, | ||
Preprocessor & | PP | ||
) |
Definition at line 601 of file TransformActions.cpp.
Definition at line 608 of file TransformActions.cpp.
void TransformActions::abortTransaction | ( | ) |
Definition at line 620 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::abort().
void TransformActions::applyRewrites | ( | RewriteReceiver & | receiver | ) |
Definition at line 672 of file TransformActions.cpp.
bool clang::arcmt::TransformActions::clearAllDiagnostics | ( | SourceRange | range | ) | [inline] |
Definition at line 75 of file Internals.h.
References clearDiagnostic().
bool TransformActions::clearDiagnostic | ( | ArrayRef< unsigned > | IDs, |
SourceRange | range | ||
) |
Definition at line 667 of file TransformActions.cpp.
Referenced by checkAllAtProps(), checkWeakGCAttrs(), clearAllDiagnostics(), and clearDiagnostic().
bool clang::arcmt::TransformActions::clearDiagnostic | ( | unsigned | ID1, |
unsigned | ID2, | ||
SourceRange | range | ||
) | [inline] |
Definition at line 78 of file Internals.h.
References clearDiagnostic().
bool clang::arcmt::TransformActions::clearDiagnostic | ( | unsigned | ID1, |
unsigned | ID2, | ||
unsigned | ID3, | ||
SourceRange | range | ||
) | [inline] |
Definition at line 82 of file Internals.h.
References clearDiagnostic().
Definition at line 616 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::~Transaction().
bool clang::arcmt::TransformActions::hasDiagnostic | ( | unsigned | ID, |
SourceRange | range | ||
) | [inline] |
Definition at line 88 of file Internals.h.
References clang::arcmt::CapturedDiagList::hasDiagnostic().
bool clang::arcmt::TransformActions::hasDiagnostic | ( | unsigned | ID1, |
unsigned | ID2, | ||
SourceRange | range | ||
) | [inline] |
Definition at line 92 of file Internals.h.
References clang::arcmt::CapturedDiagList::hasDiagnostic().
bool clang::arcmt::TransformActions::hasReportedErrors | ( | ) | const [inline] |
Definition at line 106 of file Internals.h.
References clang::DiagnosticsEngine::hasUnrecoverableErrorOccurred().
void TransformActions::increaseIndentation | ( | SourceRange | range, |
SourceLocation | parentIndent | ||
) |
Definition at line 661 of file TransformActions.cpp.
void TransformActions::insert | ( | SourceLocation | loc, |
StringRef | text | ||
) |
Definition at line 625 of file TransformActions.cpp.
Referenced by clang::arcmt::trans::MigrationContext::addPropertyAttribute(), and GCRewriteFinalize().
void TransformActions::insertAfterToken | ( | SourceLocation | loc, |
StringRef | text | ||
) |
Definition at line 629 of file TransformActions.cpp.
Referenced by GCRewriteFinalize().
void TransformActions::remove | ( | SourceRange | range | ) |
Definition at line 634 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 638 of file TransformActions.cpp.
void TransformActions::replace | ( | SourceRange | range, |
StringRef | text | ||
) |
Definition at line 642 of file TransformActions.cpp.
Referenced by replace().
void TransformActions::replace | ( | SourceRange | range, |
SourceRange | replacementRange | ||
) |
Definition at line 646 of file TransformActions.cpp.
References replace().
void TransformActions::replaceStmt | ( | Stmt * | S, |
StringRef | text | ||
) |
Definition at line 651 of file TransformActions.cpp.
void TransformActions::replaceText | ( | SourceLocation | loc, |
StringRef | text, | ||
StringRef | replacementText | ||
) |
Definition at line 655 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 676 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 683 of file TransformActions.cpp.
References report().
Referenced by errorForGCAttrsOnNonObjC().
void TransformActions::reportNote | ( | StringRef | note, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 693 of file TransformActions.cpp.
References report().
void TransformActions::reportWarning | ( | StringRef | warning, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 688 of file TransformActions.cpp.
References report().
void TransformActions::startTransaction | ( | ) |
Definition at line 612 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::Transaction().