summaryrefslogtreecommitdiffstats
path: root/generic/tclPanic.c
diff options
context:
space:
mode:
authordas <das>2009-06-30 00:56:08 (GMT)
committerdas <das>2009-06-30 00:56:08 (GMT)
commit93288b1b6b66e279ff92700ad78627879c3e3531 (patch)
tree1bdf0fea8a0fb90c3543dc08e19ae48f32da670a /generic/tclPanic.c
parentccc761ddde222870a23a9ab6a3b3ee16e6bb2924 (diff)
downloadtcl-93288b1b6b66e279ff92700ad78627879c3e3531.zip
tcl-93288b1b6b66e279ff92700ad78627879c3e3531.tar.gz
tcl-93288b1b6b66e279ff92700ad78627879c3e3531.tar.bz2
* generic/tclInt.h: add assert macros for clang static
* generic/tclPanic.c: analyzer and redefine Tcl_Panic to * generic/tclStubInit.c: assert after panic in clang PURIFY builds. * generic/tclCmdIL.c: add clang assert for false positive from static analyzer.
Diffstat (limited to 'generic/tclPanic.c')
-rw-r--r--generic/tclPanic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclPanic.c b/generic/tclPanic.c
index 0a63076..e74df68 100644
--- a/generic/tclPanic.c
+++ b/generic/tclPanic.c
@@ -12,10 +12,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPanic.c,v 1.12 2008/10/26 18:34:04 dkf Exp $
+ * RCS: @(#) $Id: tclPanic.c,v 1.13 2009/06/30 00:56:08 das Exp $
*/
#include "tclInt.h"
+#undef Tcl_Panic
/*
* The panicProc variable contains a pointer to an application specific panic