Skip to content
Commit 6c2b393f authored by Reid Spencer's avatar Reid Spencer
Browse files

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
parent 49a953ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment