[PATCH] D69962: [CFG] Fix a flaky crash in CFGBlock::getLastCondition().

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 05:19:30 PST 2019


Szelethus added inline comments.


================
Comment at: clang/lib/Analysis/CFG.cpp:5882
 
+  // FIXME: Should we return the terminator here?
+  if (size() == 0)
----------------
What would that even be?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69962/new/

https://reviews.llvm.org/D69962





More information about the cfe-commits mailing list