]> granicus.if.org Git - clang/commit
[CUDA] Disallow variadic functions other than printf in device code.
authorJustin Lebar <jlebar@google.com>
Sat, 23 Jan 2016 21:28:17 +0000 (21:28 +0000)
committerJustin Lebar <jlebar@google.com>
Sat, 23 Jan 2016 21:28:17 +0000 (21:28 +0000)
commit5496a8c53db4003c03e7e1341e4ec9b67e54563a
tree482763cf2b908bda914a399c4bd31b77a8e039a1
parente2636ac0bad65451c3eb6272d7ab3abbba96da17
[CUDA] Disallow variadic functions other than printf in device code.

Reviewers: tra

Subscribers: cfe-commits, echristo, jhen

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258643 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaCUDA/vararg.cu [moved from test/SemaCUDA/va-arg.cu with 55% similarity]