[cfe-commits] [PATCH] downgrade an error to a warning to match gcc's behavior

Benjamin Kramer benny.kra at googlemail.com
Sat May 30 08:20:12 PDT 2009


void f3() __attribute__((noreturn));

void f3() {
   return;
}

for this test case clang emits an error while gcc just warns.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noreturn.patch
Type: application/octet-stream
Size: 1771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090530/d566f88c/attachment.obj>
-------------- next part --------------



More information about the cfe-commits mailing list