File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2309,8 +2309,9 @@ Parser::DeclGroupPtrTy Parser::ParseOpenMPDeclarativeDirectiveWithExtDecl(
2309
2309
SourceLocation DTLoc = ConsumeAnyToken ();
2310
2310
bool HasClauses = Tok.isNot (tok::annot_pragma_openmp_end);
2311
2311
SemaOpenMP::DeclareTargetContextInfo DTCI (DKind, DTLoc);
2312
- if (DKind == OMPD_declare_target && !HasClauses && getLangOpts ().OpenMP >= 52 )
2313
- Diag (DTLoc, diag::warn_omp_deprecated_declare_target_delimited_form);
2312
+ if (DKind == OMPD_declare_target && !HasClauses &&
2313
+ getLangOpts ().OpenMP >= 52 )
2314
+ Diag (DTLoc, diag::warn_omp_deprecated_declare_target_delimited_form);
2314
2315
if (HasClauses)
2315
2316
ParseOMPDeclareTargetClauses (DTCI);
2316
2317
bool HasImplicitMappings = DKind == OMPD_begin_declare_target ||
You can’t perform that action at this time.
0 commit comments