Skip to content

Commit 19aacc7

Browse files
Add the "else" branch back
Co-authored-by: Mariya Podchishchaeva <[email protected]>
1 parent 7da6c64 commit 19aacc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2912,6 +2912,7 @@ class SYCLKernelNameTypeVisitor
29122912
QualType T = TA.getAsType();
29132913
if (const auto *ET = T->getAs<EnumType>())
29142914
VisitEnumType(ET);
2915+
else
29152916
Visit(T);
29162917
}
29172918

0 commit comments

Comments
 (0)