[flang] [llvm] [flang][Parser][OpenMP] Fix unparser for cancellation_construct_type (PR #136001)

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 07:25:27 PDT 2025


================
@@ -83,6 +83,9 @@ class Clause<string c> {
   // Optional class holding value of the clause in flang AST.
   string flangClass = "";
 
+  // If set to true, don't emit flang Unparser.
+  bit skipFlangUnparser = false;
----------------
kparzysz wrote:

Could you rename this to `isArtificial`?  There may be more future cases for this, and more places to check this flag.

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


More information about the llvm-commits mailing list