diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-06-13 21:33:30 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-06-13 21:33:30 +0000 |
commit | e1890e12f056622bb8c206e8b1c0e19cbb5ae7e6 (patch) | |
tree | 37fcd9110a48f9f781046b097d63b0ce5193b24f /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | c5304aa3c4b29e9fe7314dc73e9dc0f3652be202 (diff) | |
download | llvm-e1890e12f056622bb8c206e8b1c0e19cbb5ae7e6.zip llvm-e1890e12f056622bb8c206e8b1c0e19cbb5ae7e6.tar.gz llvm-e1890e12f056622bb8c206e8b1c0e19cbb5ae7e6.tar.bz2 |
Bug fix for Bugzilla bug 26602: Remove function bodies with KMP_ASSERT(0)
Fix for bugzilla https://llvm.org/bugs/show_bug.cgi?id=26602. Removed functions
body consisted of the only KMP_ASSERT(0) statement. Thus possible runtime crash
converted to compile-time error, which looks preferable (faster possible error
detection).
TODO: consider C++11 static assert as an alternative, that could
make the diagnostics better.
Patch by Andrey Churbanov
Differential Revision: http://reviews.llvm.org/D21304
llvm-svn: 272590
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions