diff options
author | John McCall <rjmccall@apple.com> | 2010-04-30 07:10:06 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-30 07:10:06 +0000 |
commit | 259d48e1486044093131c8c078f70a28b1503e70 (patch) | |
tree | faee5ff36889d04ee00c87f27e85af15723a1bac /lib/Frontend/AnalysisConsumer.cpp | |
parent | 54022952450beff428a30ef5adfb82874063603d (diff) |
An edge from a call expression to the exit block is only an abnormal edge
if *none* of the successors of the call expression is the exit block.
This matters when a call of bool type is the condition of (say) a while
loop in a function with no statements after the loop. This *can* happen
in C, but it's much more common in C++ because of overloaded operators.
Suppresses some substantial number of spurious -Wmissing-noreturn warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/AnalysisConsumer.cpp')
0 files changed, 0 insertions, 0 deletions