Szelethus marked 5 inline comments as done. Szelethus added inline comments.
================ Comment at: clang/include/clang/Analysis/Analyses/Dominators.h:111 + assert( + (IDom && !IDom->getBlock() && *I == &(*I)->getParent()->getExit() && + IsPostDom) || ---------------- kuhar wrote: > Assertions with multiple conditions conjoined are difficult to debug -- > perhaps it'd be better to split them and assign to separate booleans for each > condition, with descriptive names? This code can be hidden behind an ifdef > for debug. Do you like this better? I prefer running static analysis on large codebases with a Release+Asserts build, and I fear that this check will be lost if I use `#ifdef DEBUG`. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62551/new/ https://reviews.llvm.org/D62551 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits