commit | 3ee77640c722a70ab7e0181f36dc2af21cab3d23 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Tue Dec 15 03:11:10 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Tue Dec 15 03:11:10 2009 +0000 |
tree | ab27581f810075e6606b52d60dd6903b05b7701a | |
parent | 51365b5f74977c13c4902991c076dff8fddc96b7 [diff] |
This patch should fix PR2461. It allows clang to apply the noreturn attribute to function pointers. It also fixes Sema to check function pointers for the noreturn attribute when checking for fallthrough. Patch by Chip Davis, with a slight fix to pass the testsuite. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91408 91177308-0d34-0410-b5e6-96231b3b80d8