[PATCH] D59426: [PR41010][OpenCL] Allow OpenCL C style vector initialization in C++

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 08:37:24 PDT 2019


rjmccall added a reviewer: rsmith.
rjmccall added inline comments.


================
Comment at: lib/Sema/SemaInit.cpp:1295
+            ? InitializedEntity::InitializeTemporary(ElemType)
+            : Entity;
+
----------------
There should at least be a comment here explaining this, but mostly it's been so long since I've really understood this code that I'd like Richard to look at it.


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

https://reviews.llvm.org/D59426





More information about the cfe-commits mailing list