diff options
author | Richard Trieu <rtrieu@google.com> | 2013-06-28 21:54:25 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-06-28 21:54:25 +0000 |
commit | 4d18c9cc4e7f30a74703676c02e3399ebb2cb49f (patch) | |
tree | 6839cb7e65e5282ff1c6a2eccd981a7f12a41b30 /clang/test/Sema/overloadable.c | |
parent | 3192b2fceabc4d0d9fb91fcef59cde41749b66a0 (diff) | |
download | bcm5719-llvm-4d18c9cc4e7f30a74703676c02e3399ebb2cb49f.tar.gz bcm5719-llvm-4d18c9cc4e7f30a74703676c02e3399ebb2cb49f.zip |
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 'clang/test/Sema/overloadable.c')
0 files changed, 0 insertions, 0 deletions