Meinersbur added inline comments.

================
Comment at: llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:1691-1696
+  bool Found = false;
+  if (llvm::any_of(*LoopBody, [](Instruction &I) {
+        return I.getMetadata("llvm.access.group") != nullptr;
+      }))
+    Found = true;
+  EXPECT_TRUE(Found);
----------------
Can make it a one-liner.


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

https://reviews.llvm.org/D114379

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to