================
@@ -1903,8 +1910,10 @@ auto OmpDirectiveSpecificationParser::Parse(ParseState
&state) const
}
static bool IsStandaloneOrdered(const OmpDirectiveSpecification &spec) {
- // An ORDERED construct is standalone if it has DOACROSS or DEPEND clause.
- return spec.DirId() == llvm::omp::Directive::OMPD_ordered &&
+ // An ORDERED directive is standalone if it has DOACROSS or DEPEND clause.
+ // The directive name parser will always use OMPD_ordered_standalone
+ // for "ORDEED".
----------------
kwyatt-ext wrote:
Just a quick comment as I skim through. A more thorough review to follow:
"ORDERED"
https://github.com/llvm/llvm-project/pull/214727
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits