diff options
author | Anders Carlsson <andersca@mac.com> | 2010-09-03 00:25:02 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-09-03 00:25:02 +0000 |
commit | 5d1d7ae120c2c8e6cba5d2a712b33500a5aecc10 (patch) | |
tree | 0d94f03a157c06f8c5163dbe84739bf97e9bdd67 /lib/CodeGen/CGDecl.cpp | |
parent | 714bf175fdc84ec595ce10046259309d88944bfa (diff) |
Get rid of the "functions declared 'noreturn' should have a 'void' result type" warning.
The rationale behind this is that it is normal for callback functions to have a non-void return type
and it should still be possible to mark them noreturn. (JavaScriptCore is a good example of this).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions