[OpenMP] Add extra qualification to OpenMP clause id

Forgot to adjust this use in 419a559c5a.
This commit is contained in:
Johannes Doerfert 2020-04-05 23:09:36 -05:00
parent 586c051a27
commit 8ea07f62a6

View File

@ -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")))))