We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3229ede commit fa6ec5aCopy full SHA for fa6ec5a
lib/Sema/TypeCheckEffects.cpp
@@ -1182,8 +1182,6 @@ class Classification {
1182
PotentialEffectReason reason, SourceLoc loc,
1183
bool skipTypeCheck,
1184
std::optional<EffectKind> onlyEffect = std::nullopt) {
1185
- ASTContext &ctx = declRef.getDecl()->getASTContext();
1186
-
1187
Classification result;
1188
bool considerAsync = !onlyEffect || *onlyEffect == EffectKind::Async;
1189
bool considerThrows = !onlyEffect || *onlyEffect == EffectKind::Throws;
0 commit comments