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

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Thu Mar 6 08:26:11 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 {
----------------
Leporacanthicus wrote:

Just for my understanding, this is basically just a way to get to the .v (Directive) of the outer directive struct, becuse we used to directly store the id and without the wrapper.

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


More information about the flang-commits mailing list