]> granicus.if.org Git - clang/commit
[CUDA] Fix "declared here" note on deferred wrong-side errors.
authorJustin Lebar <jlebar@google.com>
Tue, 16 Aug 2016 00:48:21 +0000 (00:48 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 16 Aug 2016 00:48:21 +0000 (00:48 +0000)
commit7096f0803b5aabde8c4db445dd6609b84871c3d8
tree5c34c87830a7b531928cdb3c7aaa239804234a5b
parentc75652c6924ab9e852d1089c57918a1421649118
[CUDA] Fix "declared here" note on deferred wrong-side errors.

Previously we weren't deferring these "declared here" notes, which is
obviously wrong.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCUDA.cpp
test/SemaCUDA/call-device-fn-from-host.cu
test/SemaCUDA/call-host-fn-from-device.cu