diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-23 23:09:55 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-23 23:09:55 +0000 |
commit | 552d6405bf568da4ab5be88cfc4723b6e4e301d8 (patch) | |
tree | 6f181fdf00803f61c3a4eae57efee264bf528182 /lib/Analysis/PostDominators.cpp | |
parent | f99f3f4944bb8973899bffc52040c19bb31b6119 (diff) |
Add better verification of attributes on function types. It is not permitted
to use sret or inreg on the function. It is equally illegal to use noreturn
or nounwind on a parameter; they only go with the function. This patch
enforces these rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PostDominators.cpp')
0 files changed, 0 insertions, 0 deletions