summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/PostDominators.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-07-23 23:09:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-07-23 23:09:55 +0000
commit6c2b393f0c55670e9e2cc60a968b31edbd58f15f (patch)
tree2420ce2ba1dac2f80a0abd5d89b7b2d1400c725e /llvm/lib/Analysis/PostDominators.cpp
parent49a953ab139dd60031177aba06b895bd7e75213f (diff)
downloadbcm5719-llvm-6c2b393f0c55670e9e2cc60a968b31edbd58f15f.tar.gz
bcm5719-llvm-6c2b393f0c55670e9e2cc60a968b31edbd58f15f.zip
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. llvm-svn: 40453
Diffstat (limited to 'llvm/lib/Analysis/PostDominators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud