Skip to content

Commit aa0c057

Browse files
committed
add comment about removing qualifiers
1 parent 5d81a4b commit aa0c057

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Sema/SemaOverload.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,6 +2275,7 @@ static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
22752275

22762276
SCS.First = ICK_HLSL_Array_RValue;
22772277

2278+
// Don't consider qualifiers, which include things like address spaces
22782279
if (FromType.getCanonicalType().getUnqualifiedType() !=
22792280
ToType.getCanonicalType().getUnqualifiedType())
22802281
return false;

0 commit comments

Comments
 (0)