Skip to content

Commit 13cbe6f

Browse files
use OperandLoc instead
1 parent 5af4ae2 commit 13cbe6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseReflect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ExprResult Parser::ParseCXXReflectExpression(SourceLocation OpLoc) {
5656
return ExprError();
5757

5858
if (!TSI)
59-
TSI = Actions.getASTContext().getTrivialTypeSourceInfo(QT, /*Loc=*/OpLoc);
59+
TSI = Actions.getASTContext().getTrivialTypeSourceInfo(QT, OperandLoc);
6060

6161
return Actions.ActOnCXXReflectExpr(OpLoc, TSI);
6262
}

0 commit comments

Comments
 (0)