[flang-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in METADIRECTIVE (PR #159577)

Jack Styles via flang-commits flang-commits at lists.llvm.org
Fri Sep 19 08:15:28 PDT 2025


================
@@ -1281,6 +1281,16 @@ TYPE_PARSER(sourced(construct<OmpErrorDirective>(
 
 // --- Parsers for directives and constructs --------------------------
 
+static inline constexpr auto IsDirective(llvm::omp::Directive dir) {
----------------
Stylie777 wrote:

I am seeing this change a few times in your recent patches for `OmpDirectiveSpecification`. I think this should be done in a NFC commit before submitting these other patches. It will reduce the diff of these patches and means this non functional change is not attached to a functional change.

https://github.com/llvm/llvm-project/pull/159577


More information about the flang-commits mailing list