Skip to content

Commit b0df6ff

Browse files
authored
Merge pull request #551 from hyp/stabilizeme
[macOS] fix a refactor test by adjusting for AST changes
2 parents 76a5546 + bef57e7 commit b0df6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Tooling/Refactor/TypeUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static QualType canonicalizeStdOperatorReturnType(const Expr *E, QualType T) {
133133
} else
134134
return T;
135135
for (unsigned I = 0, E = OCE->getNumArgs(); I < E; ++I) {
136-
const Expr *Arg = OCE->getArgs()[I];
136+
const Expr *Arg = OCE->getArgs()[I]->IgnoreImpCasts();
137137
QualType T = Arg->getType();
138138
if (const auto *ET = dyn_cast<ElaboratedType>(T))
139139
T = ET->desugar();

0 commit comments

Comments
 (0)