================
Comment at: lib/CodeGen/CGOpenMPRuntime.h:375
@@ -366,1 +374,3 @@
+  virtual void emitImplicitBarrierCall(CodeGenFunction &CGF, SourceLocation 
Loc,
+                                       OpenMPDirectiveKind Kind = 
OMPD_unknown);
 
----------------
I think you should be able to just pass OMPD_barrier for explicit barriers.

Don't have this take a default argument; make the caller think about it and opt 
in to OMPD_unknown if they want that.

http://reviews.llvm.org/D8659

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to