Skip to content

Commit 2019212

Browse files
authored
Merge pull request #42315 from xedin/remove-unused-ast-context-ref
[CSSimplify] NFC: Remove unused ASTContext reference left after SE-0347 flag
2 parents d041d4a + 27fb788 commit 2019212

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,8 +1778,6 @@ static ConstraintSystem::TypeMatchResult matchCallArguments(
17781778
// add a constraint from the parameter if necessary, otherwise
17791779
// there is nothing to do but move to the next parameter.
17801780
if (parameterBindings[paramIdx].empty() && callee) {
1781-
auto &ctx = cs.getASTContext();
1782-
17831781
// Type inference from default value expressions.
17841782
{
17851783
auto *paramList = getParameterList(callee);

0 commit comments

Comments
 (0)