]> granicus.if.org Git - clang/commit
Hoist the logic for checking the number of arguments to an attribute
authorChandler Carruth <chandlerc@gmail.com>
Mon, 11 Jul 2011 23:30:35 +0000 (23:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 11 Jul 2011 23:30:35 +0000 (23:30 +0000)
commit1731e202b268bfcd883710e2b10fe44a869bbcb7
treecbcc4f6fb6fbc8969c1cf251fe2dd580eb24727e
parent5af80aa8217ff39424e5e3625da5ca43f17f2dad
Hoist the logic for checking the number of arguments to an attribute
into a static helper.

Original patch by Caitlin Sadowski, style tweaks by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134937 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp