diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-10-05 00:05:34 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-10-05 00:05:34 +0000 |
commit | 53c8167d7a007daae87f342c0fedd03f1dcf1b62 (patch) | |
tree | e191a68ce7e7bf07705d8ff65a9c64d8c4b61595 /lib/CodeGen/CodeGenFunction.h | |
parent | 203050c2d5413c3f7e18dfa39451bf6f954136ca (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions