Skip to content
Commit 48c69106 authored by Fariborz Jahanian's avatar Fariborz Jahanian
Browse files

c: assignment/init of a function pointer whose function(s)

return to one which does not return (has noreturn attribute) 
should warn as it is an unsafe assignment. // rdar://10095762
c++ already handles this. This is the c version.

llvm-svn: 141141
parent 202803e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment