[PATCH] D92893: [CUDA] Do not diagnose host/device variable access in dependent types.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 16:49:57 PST 2020


tra added a subscriber: rsmith.
tra added a comment.

My first variant of the patch only helped with some cases when the surface/texture attribute type was used.
Trying to reduce real-world failure resulted in an example that I've added as the test case which was still failing with this patch applied.

Thanks to @rsmith, who suggested  applying `MeaningfulToClassTemplateDefinition`, the attributes should work for templates now, too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92893



More information about the cfe-commits mailing list