]> granicus.if.org Git - clang/commit
Added a comment about the launch_bounds attribute's AST node being required. Since...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 19 Dec 2013 00:41:31 +0000 (00:41 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 19 Dec 2013 00:41:31 +0000 (00:41 +0000)
commit9be81e154324f38a9528bc3dce021c5fa07a5d69
treeae9b0076623c34559d41de3308b06801db9efa6f
parent6adb540cf817f23df9f232aaf4a96d1a6633fa4a
Added a comment about the launch_bounds attribute's AST node being required. Since there were no test cases for the attribute, some have been added. This promptly demonstrated a bug with the semantic handling, which is also fixed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197637 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/Sema/SemaDeclAttr.cpp
test/SemaCUDA/cuda.h
test/SemaCUDA/launch_bounds.cu [new file with mode: 0644]