From 803ad3137b6b81afca487e6b661460e05089699b Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Sat, 15 Feb 2020 00:58:42 -0600 Subject: [PATCH] [FIX] Repair clang-tidy check after D72304 --- clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp b/clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp index d25498d5fc55..c8a88c64c503 100644 --- a/clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp +++ b/clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp @@ -48,7 +48,7 @@ void UseDefaultNoneCheck::check(const MatchFinder::MatchResult &Result) { "'default(none)' clause instead") << getOpenMPDirectiveName(Directive->getDirectiveKind()) << getOpenMPSimpleClauseTypeName(Clause->getClauseKind(), - Clause->getDefaultKind()); + unsigned(Clause->getDefaultKind())); diag(Clause->getBeginLoc(), "existing 'default' clause specified here", DiagnosticIDs::Note); return;