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 | 5af1aa63935dc9da2236d3aad7dad1edccd0af8b (patch) | |
| tree | 22f018e12088dd24c06c7b58d1c94c41efb0576e /llvm/lib/System/Threading.cpp | |
| parent | 8b895228d91c0e0d0ab541dc8d7ce8ac8f9b3c15 (diff) | |
| download | bcm5719-llvm-5af1aa63935dc9da2236d3aad7dad1edccd0af8b.tar.gz bcm5719-llvm-5af1aa63935dc9da2236d3aad7dad1edccd0af8b.zip | |
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.
llvm-svn: 102696
Diffstat (limited to 'llvm/lib/System/Threading.cpp')
0 files changed, 0 insertions, 0 deletions

