[cfe-commits] r136183 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExprCXX.cpp test/SemaCXX/new-delete.cpp

Eli Friedman eli.friedman at gmail.com
Tue Jul 26 16:46:14 PDT 2011


On Tue, Jul 26, 2011 at 4:43 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> Re-fix r136172 so it isn't an error; apparently, some people are fond of their undefined behavior.
>
> Would it be practical to emit something like an llvm_unreachable, call
> to terminate, or other "bad stuff has happened here" kind of code
> instead?

Apparently real-world code uses this construct.  See also r136180.

-Eli



More information about the cfe-commits mailing list