Skip to content

Commit 60434e3

Browse files
llvm-beanzbogner
andcommitted
Update clang/lib/Sema/SemaHLSL.cpp
Co-authored-by: Justin Bogner <[email protected]>
1 parent 38429f4 commit 60434e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@ static void BuildFlattenedTypeList(QualType BaseTy,
25952595
if (RD->isStandardLayout())
25962596
RD = RD->getStandardLayoutBaseWithFields();
25972597

2598-
// For types that we shouldn't decompose (unios and non-aggregates), just
2598+
// For types that we shouldn't decompose (unions and non-aggregates), just
25992599
// add the type itself to the list.
26002600
if (RD->isUnion() || !RD->isAggregate()) {
26012601
List.push_back(T);

0 commit comments

Comments
 (0)