[FIX] Add missing InGroup to warning introduced as part of D71830

This commit is contained in:
Johannes Doerfert 2020-02-14 17:21:13 -06:00
parent 7cbb107feb
commit 859654c065
1 changed files with 2 additions and 1 deletions

View File

@ -9912,7 +9912,8 @@ def err_omp_declare_variant_incompat_attributes : Error<
"'#pragma omp declare variant' is not compatible with any target-specific attributes">;
def warn_omp_declare_variant_score_not_constant
: Warning<"score expressions in the OpenMP context selector need to be "
"constant; %0 is not and will be ignored">;
"constant; %0 is not and will be ignored">,
InGroup<SourceUsesOpenMP>;
def err_omp_declare_variant_user_condition_not_constant
: Error<"the user condition in the OpenMP context selector needs to be "
"constant; %0 is not">;