implement Sema support for the alloc_size attribute
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 24 May 2012 00:22:00 +0000 (00:22 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 24 May 2012 00:22:00 +0000 (00:22 +0000)
commit5c7ad16fddccc4841d89ac87a3b226ad64bb39af
tree398407e57ca4acd5e003a9eafb062372038510f7
parent9b43c3f0c5cf2c360abe613dd81f616da148395b
implement Sema support for the alloc_size attribute
Portions of this patch by Xi Wang. Reviewed by Jordy Rose. Thank you both.

Codegen support will follow soon.

llvm-svn: 157360
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/Sema/alloc_size.c [new file with mode: 0644]