[clang-tools-extra] 8ea07f6 - [OpenMP] Add extra qualification to OpenMP clause id
Johannes Doerfert via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 5 21:12:03 PDT 2020
Author: Johannes Doerfert
Date: 2020-04-05T23:10:58-05:00
New Revision: 8ea07f62a6f06bdb7da981425227995423867a4d
URL: https://github.com/llvm/llvm-project/commit/8ea07f62a6f06bdb7da981425227995423867a4d
DIFF: https://github.com/llvm/llvm-project/commit/8ea07f62a6f06bdb7da981425227995423867a4d.diff
LOG: [OpenMP] Add extra qualification to OpenMP clause id
Forgot to adjust this use in 419a559c5a73f13578d891feb1299cada08d581e.
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 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")))))
More information about the cfe-commits
mailing list