[PATCH] D43737: Improve -Winfinite-recursion
Richard Trieu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 27 21:45:19 PST 2018
rtrieu added inline comments.
================
Comment at: lib/Sema/AnalysisBasedWarnings.cpp:255-257
// If the exit block is unreachable, skip processing the function.
if (cfg->getExit().pred_empty())
return;
----------------
This is likely what is causing my previous code example to fail.
https://reviews.llvm.org/D43737
More information about the cfe-commits
mailing list