[PATCH] D66137: [OpenCL][PR42385] Improve addr space deduction for pointers/references to arrays

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 02:17:35 PDT 2019


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

LGTM, but please clang-format your patch before committing (esp. spacing around binary operators).



================
Comment at: lib/Sema/SemaType.cpp:7396
+  // For pointers/references to arrays the next chunk is always an array
+  // followed by any number of parenthesis.
+  if (!IsPointee && ChunkIndex > 1) {
----------------
parentheses (also below).


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

https://reviews.llvm.org/D66137





More information about the cfe-commits mailing list