commit | d3f2c10f881311831a84114179342ff4db55e0c3 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Sun Oct 19 02:04:16 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Sun Oct 19 02:04:16 2008 +0000 |
tree | cf9bf67737b249c63f20549e4e18586d35f13c59 | |
parent | 6dfe2f544a5e601bd5ac1a7e31af17ec3bf1fe01 [diff] |
Improve attribute parsing & tests. - Support noreturn on function-typed variables. - Extend isFunctionOrMethod to return true for K&R functions and provide hasFunctionProto to check if a decl has information about its arguments. This code needs some serious cleaning, but works. - Add/improve test cases for noreturn and unused. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57778 91177308-0d34-0410-b5e6-96231b3b80d8