Author: Johannes Doerfert Date: 2020-02-15T01:15:45-06:00 New Revision: 803ad3137b6b81afca487e6b661460e05089699b
URL: https://github.com/llvm/llvm-project/commit/803ad3137b6b81afca487e6b661460e05089699b DIFF: https://github.com/llvm/llvm-project/commit/803ad3137b6b81afca487e6b661460e05089699b.diff LOG: [FIX] Repair clang-tidy check after D72304 Added: Modified: clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp Removed: ################################################################################ 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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits