Warns when end-of-file is reached without seeing all matching
'omp end declare target' directives. The diagnostic shows the
location of the related begin directive.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D126331
[OpenMP] Add diagnostic for unterminated 'omp [begin] declare target' ClosedPublic Authored by mikerice on May 24 2022, 2:31 PM.
Details Summary Warns when end-of-file is reached without seeing all matching
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 25 2022, 2:55 AM Closed by commit rGba3f85390bde: [OpenMP] Add diagnostic for unterminated 'omp [begin] declare target' (authored by mikerice). · Explain WhyMay 25 2022, 10:34 AM This revision was automatically updated to reflect the committed changes. Comment Actions
I'll take a look when I get a moment.
Revision Contents
Diff 432043 clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/Inputs/unterminated_declare_target_include.h
clang/test/OpenMP/declare_target_messages.cpp
|