[all-commits] [llvm/llvm-project] 7b0ca3: [OpenMP] avoid warning: equality comparison with e...
Joachim via All-commits
all-commits at lists.llvm.org
Thu Nov 5 03:22:04 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7b0ca32b6228f6268bdd5952577ebd5ebcb2f6f7
https://github.com/llvm/llvm-project/commit/7b0ca32b6228f6268bdd5952577ebd5ebcb2f6f7
Author: Joachim Protze <protze at itc.rwth-aachen.de>
Date: 2020-11-05 (Thu, 05 Nov 2020)
Changed paths:
M openmp/runtime/src/kmp.h
Log Message:
-----------
[OpenMP] avoid warning: equality comparison with extraneous parentheses
The macros are used in several places with an if(macro) pattern. This results
in several warnings about extraneous parenteses in equality comparison.
Having the constant at the lhs of the comparison, avoids this warning.
Differential Revision: https://reviews.llvm.org/D90756
More information about the All-commits
mailing list