forked from OSchip/llvm-project
[FIX] Repair clang-tidy check after D72304
This commit is contained in:
parent
7438059a90
commit
803ad3137b
|
@ -48,7 +48,7 @@ void UseDefaultNoneCheck::check(const MatchFinder::MatchResult &Result) {
|
||||||
"'default(none)' clause instead")
|
"'default(none)' clause instead")
|
||||||
<< getOpenMPDirectiveName(Directive->getDirectiveKind())
|
<< getOpenMPDirectiveName(Directive->getDirectiveKind())
|
||||||
<< getOpenMPSimpleClauseTypeName(Clause->getClauseKind(),
|
<< getOpenMPSimpleClauseTypeName(Clause->getClauseKind(),
|
||||||
Clause->getDefaultKind());
|
unsigned(Clause->getDefaultKind()));
|
||||||
diag(Clause->getBeginLoc(), "existing 'default' clause specified here",
|
diag(Clause->getBeginLoc(), "existing 'default' clause specified here",
|
||||||
DiagnosticIDs::Note);
|
DiagnosticIDs::Note);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue