We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e5a46 commit 771d7d7Copy full SHA for 771d7d7
clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
@@ -462,8 +462,9 @@ class HTMLLogger : public Logger {
462
GraphS << " " << blockID(I) << " [id=" << blockID(I) << "]\n";
463
for (const auto *Block : CFG) {
464
for (const auto &Succ : Block->succs()) {
465
- GraphS << " " << blockID(Block->getBlockID()) << " -> "
466
- << blockID(Succ.getReachableBlock()->getBlockID()) << "\n";
+ if (Succ.getReachableBlock())
+ GraphS << " " << blockID(Block->getBlockID()) << " -> "
467
+ << blockID(Succ.getReachableBlock()->getBlockID()) << "\n";
468
}
469
470
GraphS << "}\n";
0 commit comments