[PATCH] D49725: [OpenCL] Forbid size dependent types used as kernel arguments
    Andrew Savonichev via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Jul 26 05:57:39 PDT 2018
    
    
  
asavonic marked an inline comment as done.
asavonic 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();
----------------
Anastasia wrote:
> Should this bit go into https://reviews.llvm.org/D49725?
Right, thank you!
Repository:
  rC Clang
https://reviews.llvm.org/D49725
    
    
More information about the cfe-commits
mailing list