diff options
author | Artem Belevich <tra@google.com> | 2016-12-07 19:27:16 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2016-12-07 19:27:16 +0000 |
commit | 13e9b4d76851d987381d650f63fad1c272fc0239 (patch) | |
tree | 481481d7409f445b65d7982d1f3776bfbb28cf12 /llvm/lib/Support/PrettyStackTrace.cpp | |
parent | 34264e17699d56deb8051de2f9ae28abb948bb05 (diff) | |
download | llvm-13e9b4d76851d987381d650f63fad1c272fc0239.zip llvm-13e9b4d76851d987381d650f63fad1c272fc0239.tar.gz llvm-13e9b4d76851d987381d650f63fad1c272fc0239.tar.bz2 |
[CUDA] Improve target attribute checking for function templates.
* __host__ __device__ functions are no longer considered to be
redeclarations of __host__ or __device__ functions. This prevents
unintentional merging of target attributes across them.
* Function target attributes are not considered (and must match) during
explicit instantiation and specialization of function templates.
Differential Revision: https://reviews.llvm.org/D25809
llvm-svn: 288962
Diffstat (limited to 'llvm/lib/Support/PrettyStackTrace.cpp')
0 files changed, 0 insertions, 0 deletions