aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/edit-swig-python-wrapper-file.py
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-06-28 21:54:25 +0000
committerRichard Trieu <rtrieu@google.com>2013-06-28 21:54:25 +0000
commit4d18c9cc4e7f30a74703676c02e3399ebb2cb49f (patch)
tree6839cb7e65e5282ff1c6a2eccd981a7f12a41b30 /lldb/scripts/Python/edit-swig-python-wrapper-file.py
parent3192b2fceabc4d0d9fb91fcef59cde41749b66a0 (diff)
downloadllvm-4d18c9cc4e7f30a74703676c02e3399ebb2cb49f.zip
llvm-4d18c9cc4e7f30a74703676c02e3399ebb2cb49f.tar.gz
llvm-4d18c9cc4e7f30a74703676c02e3399ebb2cb49f.tar.bz2
Fix broken asserts that never fire.
Change assert("text") to assert(0 && "text"). The first case is a const char * to bool conversion, which always evaluates to true, never triggering the assert. The second case will always trigger the assert. llvm-svn: 185227
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions