We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9011d22 commit 0ec0714Copy full SHA for 0ec0714
clang/lib/Sema/SemaInit.cpp
@@ -6821,7 +6821,7 @@ void InitializationSequence::InitializeFrom(Sema &S,
6821
6822
// For HLSL ext vector types we allow list initialization behavior for C++
6823
// functional cast expressions which look like constructor syntax. This is
6824
- // accomplished by converting initialization arguments an InitListExpr.
+ // accomplished by converting initialization arguments to InitListExpr.
6825
if (S.getLangOpts().HLSL && Args.size() > 1 && DestType->isExtVectorType() &&
6826
(SourceType.isNull() ||
6827
!Context.hasSameUnqualifiedType(SourceType, DestType))) {
0 commit comments