ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.

LG with a nit


================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:5280
@@ -5279,5 +5279,3 @@
         BP = CGF.EmitLoadOfPointerLValue(PtrAddr.getAddress(),
-                                         I->getAssociatedDeclaration()
-                                             ->getType()
-                                             ->getAs<PointerType>())
+                                         Ty->getAs<PointerType>())
                  .getPointer();
----------------
getAs -> castAs


https://reviews.llvm.org/D22690



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

Reply via email to