diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-06-03 23:00:09 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-06-03 23:00:09 +0000 |
commit | 7ce598aeee556aa638ac19b2604a0a6b224df7f8 (patch) | |
tree | 45892f9a8a61786edcc55cdcf2e096df8e3d0487 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 5f16849b346355f53e721d3c87129ea224aca491 (diff) | |
download | llvm-7ce598aeee556aa638ac19b2604a0a6b224df7f8.zip llvm-7ce598aeee556aa638ac19b2604a0a6b224df7f8.tar.gz llvm-7ce598aeee556aa638ac19b2604a0a6b224df7f8.tar.bz2 |
[analyzer; new edges] Omit subexpression back-edges that span multiple lines.
A.1 -> A -> B
becomes
A.1 -> B
This only applies if there's an edge from a subexpression to its parent
expression, and that is immediately followed by another edge from the
parent expression to a subsequent expression. Normally this is useful for
bringing the edges back to the left side of the code, but when the
subexpression is on a different line the backedge ends up looking strange,
and may even obscure code. In these cases, it's better to just continue
to the next top-level statement.
llvm-svn: 183164
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions