[PATCH] [OPENMP] Initial codegen for '#pragma omp parallel'

Zinovy Nis zinovy.nis at gmail.com
Thu Apr 17 03:43:01 PDT 2014

Comment at: lib/CodeGen/CodeGenModule.h:258
@@ -256,2 +257,3 @@
   CGOpenCLRuntime* OpenCLRuntime;
+  CGOpenMPRuntime* OpenMPRuntime;
   CGCUDARuntime* CUDARuntime;
Probably not a comment for your line, but it'd be safer to use `std::unique_ptr` instead of raw pointers. That would also eliminate explicit calls to `delete`.


More information about the cfe-commits mailing list