Skip to content

Commit 347b525

Browse files
committed
Minor tweak: Make it clear an auto variable is a pointer.
1 parent 4dbf89b commit 347b525

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Sema/CSApply.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,8 @@ namespace {
34273427
// If we weren't explicitly told by the caller which disjunction choice,
34283428
// get it from the solution to determine whether we've picked a coercion
34293429
// or a bridging conversion.
3430-
auto locator = cs.getConstraintLocator(expr);
3430+
auto *locator = cs.getConstraintLocator(expr);
3431+
34313432
if (!choice) {
34323433
if (tc.Context.LangOpts.EnableObjCInterop)
34333434
choice = solution.getDisjunctionChoice(locator);

0 commit comments

Comments
 (0)