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 4818670 commit 2dc72c5Copy full SHA for 2dc72c5
lib/Sema/TypeCheckStmt.cpp
@@ -122,9 +122,7 @@ namespace {
122
if (DAE->isCallerSide() &&
123
(DAE->getParamDecl()->isAutoClosure() ||
124
(DAE->getParamDecl()->getDefaultArgumentKind() ==
125
- DefaultArgumentKind::ExpressionMacro &&
126
- ParentDC->getASTContext().LangOpts.hasFeature(
127
- Feature::ExpressionMacroDefaultArguments))))
+ DefaultArgumentKind::ExpressionMacro)))
128
DAE->getCallerSideDefaultExpr()->walk(*this);
129
130
// Macro expansion expressions require a DeclContext as well.
0 commit comments