[PATCH] D122255: Meta directive runtime support

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 12:50:29 PDT 2022


ABataev added inline comments.


================
Comment at: clang/lib/AST/OpenMPClause.cpp:19
 #include "clang/Basic/LLVM.h"
+#include "clang/AST/StmtOpenMP.h" //
 #include "clang/Basic/OpenMPKinds.h"
----------------
Remove empty comment


================
Comment at: clang/lib/AST/OpenMPClause.cpp:1620-1621
+  TI.print(OS, Policy);
+  Stmt *S = Node->getDirective();
+  if (S) {
+    OS << ":";
----------------
`if (Stmt *S = Node->getDirective())`


================
Comment at: clang/lib/AST/OpenMPClause.cpp:2411-2419
+       
     if (!FirstSet)
       OS << ", ";
     FirstSet = false;
     OS << getOpenMPContextTraitSetName(Set.Kind) << "={";
 
     bool FirstSelector = true;
----------------
Remove those empty new lines


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122255/new/

https://reviews.llvm.org/D122255



More information about the llvm-commits mailing list