[clang] [Clang][OpenMP] Skip Sema actions for invalid assumption clauses (PR #212822)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 23:00:03 PDT 2026


OHNope wrote:

> Since your test also covers invalid OpenMP combinations, you could actually just reuse the test file I added in #200663 (Renaming it is better).
> 
> I'm not sure if adding these assertions is the right approach, as I haven't consulted the rest of the source code.

Thanks! I deleted those asserts, reused the regression test added in #200663 and renamed it to "invalid-clause-on-directive.c". It now covers the original transparent case!

https://github.com/llvm/llvm-project/pull/212822


More information about the cfe-commits mailing list