[PATCH] D45231: [CUDA] Check initializers of instantiated template variables.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 3 15:28:08 PDT 2018


tra created this revision.
tra added a reviewer: jlebar.
Herald added a subscriber: sanjoy.

We were already performing checks on non-template variables,
but the checks on templated ones were missing.


https://reviews.llvm.org/D45231

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaCUDA.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/SemaCUDA/device-var-init.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45231.140867.patch
Type: text/x-patch
Size: 8206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180403/d5d07e11/attachment-0001.bin>


More information about the cfe-commits mailing list