================
@@ -761,8 +761,36 @@ void
StmtPrinter::PrintOMPExecutableDirective(OMPExecutableDirective *S,
}
void StmtPrinter::VisitOMPMetaDirective(OMPMetaDirective *Node) {
+ if (Node->getNumVariants() == 0) {
+ Indent() << "#pragma omp metadirective" << NL;
+ if (Stmt *If = Node->getIfStmt())
+ PrintStmt(If);
+ }
----------------
alexey-bataev wrote:
```suggestion
return;
}
```
https://github.com/llvm/llvm-project/pull/192455
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits