clang
19.0.0git
|
#include "/home/runner/work/llvm/llvm/repo/clang/lib/ARCMigrate/Internals.h"
Classes | |
class | RewriteReceiver |
Definition at line 49 of file Internals.h.
TransformActions::TransformActions | ( | DiagnosticsEngine & | diag, |
CapturedDiagList & | capturedDiags, | ||
ASTContext & | ctx, | ||
Preprocessor & | PP | ||
) |
Definition at line 605 of file TransformActions.cpp.
TransformActions::~TransformActions | ( | ) |
Definition at line 612 of file TransformActions.cpp.
void TransformActions::abortTransaction | ( | ) |
Definition at line 624 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::abort().
void TransformActions::applyRewrites | ( | RewriteReceiver & | receiver | ) |
Definition at line 676 of file TransformActions.cpp.
Referenced by clang::arcmt::MigrationProcess::applyTransform().
|
inline |
Definition at line 76 of file Internals.h.
References clearDiagnostic(), and clang::transformer::range().
bool TransformActions::clearDiagnostic | ( | ArrayRef< unsigned > | IDs, |
SourceRange | range | ||
) |
Definition at line 671 of file TransformActions.cpp.
References clang::transformer::range().
Referenced by checkAllAtProps(), checkWeakGCAttrs(), clearAllDiagnostics(), and clearDiagnostic().
|
inline |
Definition at line 79 of file Internals.h.
References clearDiagnostic(), and clang::transformer::range().
|
inline |
Definition at line 83 of file Internals.h.
References clearDiagnostic(), and clang::transformer::range().
bool TransformActions::commitTransaction | ( | ) |
Definition at line 620 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::~Transaction().
|
inline |
Definition at line 89 of file Internals.h.
References clang::arcmt::CapturedDiagList::hasDiagnostic(), ID, and clang::transformer::range().
|
inline |
Definition at line 93 of file Internals.h.
References clang::arcmt::CapturedDiagList::hasDiagnostic(), and clang::transformer::range().
|
inline |
Definition at line 107 of file Internals.h.
References clang::DiagnosticsEngine::hasUnrecoverableErrorOccurred().
Referenced by clang::arcmt::checkForManualIssues().
void TransformActions::increaseIndentation | ( | SourceRange | range, |
SourceLocation | parentIndent | ||
) |
Definition at line 665 of file TransformActions.cpp.
References clang::transformer::range().
void TransformActions::insert | ( | SourceLocation | loc, |
StringRef | text | ||
) |
Definition at line 629 of file TransformActions.cpp.
References clang::comments::tok::text.
Referenced by clang::arcmt::trans::MigrationContext::addPropertyAttribute(), and GCRewriteFinalize().
void TransformActions::insertAfterToken | ( | SourceLocation | loc, |
StringRef | text | ||
) |
Definition at line 633 of file TransformActions.cpp.
References clang::comments::tok::text.
void TransformActions::remove | ( | SourceRange | range | ) |
Definition at line 638 of file TransformActions.cpp.
References clang::transformer::range().
Referenced by checkAllAtProps(), cleanupDeallocOrFinalize(), clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize(), and clang::arcmt::trans::MigrationContext::rewritePropertyAttribute().
void TransformActions::removeStmt | ( | Stmt * | S | ) |
Definition at line 642 of file TransformActions.cpp.
void TransformActions::replace | ( | SourceRange | range, |
SourceRange | replacementRange | ||
) |
Definition at line 650 of file TransformActions.cpp.
References clang::transformer::range(), and replace().
void TransformActions::replace | ( | SourceRange | range, |
StringRef | text | ||
) |
Definition at line 646 of file TransformActions.cpp.
References clang::transformer::range(), and clang::comments::tok::text.
Referenced by replace().
void TransformActions::replaceStmt | ( | Stmt * | S, |
StringRef | text | ||
) |
Definition at line 655 of file TransformActions.cpp.
void TransformActions::replaceText | ( | SourceLocation | loc, |
StringRef | text, | ||
StringRef | replacementText | ||
) |
Definition at line 659 of file TransformActions.cpp.
References clang::comments::tok::text.
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 680 of file TransformActions.cpp.
References clang::transformer::range(), and clang::DiagnosticsEngine::Report().
Referenced by reportError(), reportNote(), and reportWarning().
void TransformActions::reportError | ( | StringRef | error, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 687 of file TransformActions.cpp.
References clang::transformer::range(), and report().
Referenced by errorForGCAttrsOnNonObjC().
void TransformActions::reportNote | ( | StringRef | note, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 697 of file TransformActions.cpp.
References clang::transformer::range(), and report().
void TransformActions::reportWarning | ( | StringRef | warning, |
SourceLocation | loc, | ||
SourceRange | range = SourceRange() |
||
) |
Definition at line 692 of file TransformActions.cpp.
References clang::transformer::range(), and report().
void TransformActions::startTransaction | ( | ) |
Definition at line 616 of file TransformActions.cpp.
Referenced by clang::arcmt::Transaction::Transaction().