|
@@ -6747,6 +6747,9 @@ def err_cuda_vla : Error<
|
|
"cannot use variable-length arrays in "
|
|
"cannot use variable-length arrays in "
|
|
"%select{__device__|__global__|__host__|__host__ __device__}0 functions">;
|
|
"%select{__device__|__global__|__host__|__host__ __device__}0 functions">;
|
|
def err_cuda_extern_shared : Error<"__shared__ variable %0 cannot be 'extern'">;
|
|
def err_cuda_extern_shared : Error<"__shared__ variable %0 cannot be 'extern'">;
|
|
|
|
+def err_cuda_host_shared : Error<
|
|
|
|
+ "__shared__ local variables not allowed in "
|
|
|
|
+ "%select{__device__|__global__|__host__|__host__ __device__}0 functions">;
|
|
def err_cuda_nonglobal_constant : Error<"__constant__ variables must be global">;
|
|
def err_cuda_nonglobal_constant : Error<"__constant__ variables must be global">;
|
|
|
|
|
|
def warn_non_pod_vararg_with_format_string : Warning<
|
|
def warn_non_pod_vararg_with_format_string : Warning<
|