Go to file
Artem Belevich 3650bbeebc [CUDA] Do not allow non-empty destructors for global device-side variables.
According to Cuda Programming guide (v7.5, E2.3.1):
> __device__, __constant__ and __shared__ variables defined in namespace
> scope, that are of class type, cannot have a non-empty constructor or a
> non-empty destructor.

Clang already deals with device-side constructors (see D15305).
This patch enforces similar rules for destructors.

Differential Revision: http://reviews.llvm.org/D20140

llvm-svn: 270108
2016-05-19 20:13:53 +00:00
clang [CUDA] Do not allow non-empty destructors for global device-side variables. 2016-05-19 20:13:53 +00:00
clang-tools-extra [include-fixer] Fix unused variable warning in Release builds. 2016-05-19 16:57:57 +00:00
compiler-rt Revert "[sanitizer] Move *fstat to the common interceptors" 2016-05-19 16:03:10 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Use single precision fmax in sp path 2016-05-17 19:44:01 +00:00
libcxx Cleanup superfluous std:: qualifiers in <type_traits> 2016-05-18 23:09:24 +00:00
libcxxabi libc++abi: make __cxa_call_unexpected visible 2016-05-11 23:56:37 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Fix the function to set the section VMA/LMA fields in case of using 2016-05-19 18:15:54 +00:00
lldb Fixed a crash if a FunctionDecl couldn't be imported. 2016-05-19 19:23:37 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm Modify emitTypeInformation to use MemoryTypeTableBuilder 2016-05-19 20:12:56 +00:00
openmp Remove unnecessary unistd.h header from tests. 2016-05-18 21:36:34 +00:00
polly Revert "Optimistic assume required invariant loads to be invariant" 2016-05-19 13:47:34 +00:00