[PATCH] D49725: [OpenCL] Forbid size dependent types used as kernel arguments

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 26 02:54:30 PDT 2018


Anastasia added inline comments.


================
Comment at: lib/Sema/SemaDecl.cpp:8267
 
-      S.Diag(PD->getLocation(), diag::note_within_field_of_type)
-        << PD->getDeclName();
+      S.Diag(OrigRecDecl->getLocation(), diag::note_within_field_of_type)
+          << OrigRecDecl->getDeclName();
----------------
Should this bit go into https://reviews.llvm.org/D49725?


Repository:
  rC Clang

https://reviews.llvm.org/D49725





More information about the cfe-commits mailing list