llvm
a4e8a652 - [Clang][SYCL] Fix test after 034d4dcad639 (#36278)

Commit
138 days ago
[Clang][SYCL] Fix test after 034d4dcad639 (#36278) Fix sycl-cconv.cpp test that broke after commit 034d4dcad639 which changed SemaChecking to diagnose invalid non-dependent calls in dependent contexts. The commit now checks variadic function calls even in template definitions, not just during instantiation. This means the printf call on line 18 now emits an error both during template definition and during instantiation, requiring 2 expected-error directives. Fixes: CMPLRLLVM-74970 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Author
Committer
Parents
Loading