aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/kmp_os.h
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-06-13 21:33:30 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-06-13 21:33:30 +0000
commitf7dc7b1746a83669fc5559d7c7f66df3a4ee679e (patch)
tree779d80d27f2a2928304746fb62d35cc39e4afb01 /runtime/src/kmp_os.h
parent146e0c7b5f134aab4894b4fbabf098c3743b867f (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@272590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/src/kmp_os.h')
0 files changed, 0 insertions, 0 deletions