[flang-commits] [flang] [flang][OpenMP] Implement OmpDirectiveName, use in OmpDirectiveSpecif… (PR #130121)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Thu Mar 6 08:28:28 PST 2025


================
@@ -27,15 +27,38 @@ namespace Fortran::parser {
 constexpr auto startOmpLine = skipStuffBeforeStatement >> "!$OMP "_sptok;
 constexpr auto endOmpLine = space >> endOfLine;
 
+template <typename Parser> struct UnwrapParser {
----------------
kparzysz wrote:

Yes, it's the `.v` part, but in a form of a parser, so that it is composable with other parsers.

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


More information about the flang-commits mailing list