From 8ea07f62a6f06bdb7da981425227995423867a4d Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Sun, 5 Apr 2020 23:09:36 -0500 Subject: [PATCH] [OpenMP] Add extra qualification to OpenMP clause id Forgot to adjust this use in 419a559c5a73f13578d891feb1299cada08d581e. --- 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 efd70e778c6f..724e9b9b9cbc 100644 --- a/clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp +++ b/clang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp @@ -24,7 +24,7 @@ namespace openmp { void UseDefaultNoneCheck::registerMatchers(MatchFinder *Finder) { Finder->addMatcher( ompExecutableDirective( - allOf(isAllowedToContainClauseKind(OMPC_default), + allOf(isAllowedToContainClauseKind(llvm::omp::OMPC_default), anyOf(unless(hasAnyClause(ompDefaultClause())), hasAnyClause(ompDefaultClause(unless(isNoneKind())) .bind("clause")))))