2 Commits

Author SHA1 Message Date
Dmitri Gribenko
b9b627fbc3 [clang] Fix a new test to not write temp files to the git repository 2023-11-27 18:04:49 +01:00
Raymond Chang
85b2e9c022
[Clang][OpenMP] Emit unsupported directive error (#70233)
Hello!

This PR fixes #63871. Clang should no longer crash and instead emits an
error message.

Below is an example of the new error message:

```
~/dev/fork-llvm-project omp_dispatch_unimpl
❯ ./install/bin/clang -fopenmp  -c -emit-llvm -Xclang -disable-llvm-passes test.c
test.c:6:5: error: cannot compile this OpenMP dispatch directive yet
    6 |     #pragma omp dispatch
      |     ^~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2023-11-24 16:28:32 -05:00