The paramemter of hint clause in OpenMP critical hint should be
non-negative. The omp_lock_hint_none is 0 in omp.h.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D121101
[clang] Fix OpenMP critical hint parameter check ClosedPublic Authored by peixin on Mar 7 2022, 3:41 AM.
Details Summary The paramemter of hint clause in OpenMP critical hint should be
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 7 2022, 4:02 AM Closed by commit rG4e159e4c7b97: [clang] Fix OpenMP critical hint parameter check (authored by peixin). · Explain WhyMar 7 2022, 5:06 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413663 clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/critical_messages.cpp
|