Skip to content

Commit 3c41b0a

Browse files
committed
cleanup
1 parent 5db10e5 commit 3c41b0a

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

lib/AST/DistributedDecl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ AbstractFunctionDecl::isDistributedActorSystemMakeInvocationEncoder() const {
539539
bool
540540
AbstractFunctionDecl::isDistributedTargetInvocationEncoderRecordGenericSubstitution() const {
541541
auto &C = getASTContext();
542-
auto module = getParentModule();
543542

544543
if (getBaseIdentifier() != C.Id_recordGenericSubstitution) {
545544
return false;

lib/Sema/CodeSynthesisDistributedActor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ static std::pair<BraceStmt *, bool>
114114
deriveBodyDistributed_thunk(AbstractFunctionDecl *thunk, void *context) {
115115
auto implicit = true;
116116
ASTContext &C = thunk->getASTContext();
117-
DeclContext *DC = thunk->getDeclContext();
118117
auto module = thunk->getParentModule();
119118

120119
// mock locations, we're a thunk and don't really need detailed locations

lib/Sema/TypeCheckCaptures.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,6 @@ class FindCapturedVars : public ASTWalker {
297297
// }
298298
if (!isa<FuncDecl>(D)) {
299299
if (DC->isLocalContext()) {
300-
DC->dumpContext();
301-
DC->getAsDecl()->dump();
302300
Context.Diags.diagnose(DRE->getLoc(), diag::capture_across_type_decl,
303301
NTD->getDescriptiveKind(),
304302
D->getBaseIdentifier());

0 commit comments

Comments
 (0)