]> granicus.if.org Git - clang/commit
Downgrade "function declared 'noreturn' should not return" from an
authorDouglas Gregor <dgregor@apple.com>
Wed, 21 Oct 2009 15:46:01 +0000 (15:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 21 Oct 2009 15:46:01 +0000 (15:46 +0000)
commit9dc9c376a9f3e0c72f33e27075caa0647dadb350
tree41839cae56d5673640c28d6c98fa04374f8b5ac5
parent6a6de8b4fc944ca1bfa4e47c516d049a0d627b0e
Downgrade "function declared 'noreturn' should not return" from an
error (by default) to a warning, per C++0x [dcl.attr.noreturn]. Patch
from Sean Hunt!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84762 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
test/Sema/attr-noreturn.c