[all-commits] [llvm/llvm-project] 4e159e: [clang] Fix OpenMP critical hint parameter check
PeixinQiao via All-commits
all-commits at lists.llvm.org
Mon Mar 7 17:06:32 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e159e4c7b975c4c091e175fde0a340ca643ccd3
https://github.com/llvm/llvm-project/commit/4e159e4c7b975c4c091e175fde0a340ca643ccd3
Author: Peixin-Qiao <qiaopeixin at huawei.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/critical_messages.cpp
Log Message:
-----------
[clang] Fix OpenMP critical hint parameter check
The paramemter of hint clause in OpenMP critical hint should be
non-negative. The omp_lock_hint_none is 0 in omp.h.
Reviewed By: Alexey Bataev
Differential Revision: https://reviews.llvm.org/D121101
More information about the All-commits
mailing list