We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa859ed commit 45d6792Copy full SHA for 45d6792
clang/lib/Parse/ParseOpenMP.cpp
@@ -65,7 +65,7 @@ static OpenMPDirectiveKind checkOpenMPDirectiveName(Parser &P,
65
assert(D == Kind && "Directive kind mismatch");
66
// Ignore the case Version > VR.Max: In OpenMP 6.0 all prior spellings
67
// are explicitly allowed.
68
- if (Version < VR.Min)
+ if (static_cast<int>(Version) < VR.Min)
69
P.Diag(Loc, diag::warn_omp_future_directive_spelling) << Name;
70
71
return Kind;
0 commit comments