Skip to content

Commit 2a74d0b

Browse files
committed
Use ParamDecl::isDefaultArgument().
1 parent a1541a1 commit 2a74d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckPropertyWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static ConstructorDecl *findInitialValueInit(
116116
continue;
117117
}
118118

119-
if (param->getDefaultArgumentKind() != DefaultArgumentKind::None)
119+
if (param->isDefaultArgument())
120120
continue;
121121

122122
// Forget we had a match.

0 commit comments

Comments
 (0)