diff options
author | Valeriy Savchenko <vsavchenko@apple.com> | 2020-12-01 11:53:53 +0300 |
---|---|---|
committer | Valeriy Savchenko <vsavchenko@apple.com> | 2021-08-02 19:15:00 +0300 |
commit | 97bcafa28deb95ad32f83fe339d78454d899ca1b (patch) | |
tree | 16f0524ebe4553df80462f12e213d8e75f704357 /clang/lib/Rewrite/HTMLRewrite.cpp | |
parent | ea23f7fce5deb2b55406cb61a06b0394b0c8011f (diff) | |
download | llvm-97bcafa28deb95ad32f83fe339d78454d899ca1b.zip llvm-97bcafa28deb95ad32f83fe339d78454d899ca1b.tar.gz llvm-97bcafa28deb95ad32f83fe339d78454d899ca1b.tar.bz2 |
[analyzer] Add control flow arrows to the analyzer's HTML reports
This commit adds a very first version of this feature.
It is off by default and has to be turned on by checking the
corresponding box. For this reason, HTML reports still keep
control notes (aka grey bubbles).
Further on, we plan on attaching arrows to events and having all arrows
not related to a currently selected event barely visible. This will
help with reports where control flow goes back and forth (eg in loops).
Right now, it can get pretty crammed with all the arrows.
Differential Revision: https://reviews.llvm.org/D92639
Diffstat (limited to 'clang/lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r-- | clang/lib/Rewrite/HTMLRewrite.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Rewrite/HTMLRewrite.cpp b/clang/lib/Rewrite/HTMLRewrite.cpp index 2f5f273..496b8c5 100644 --- a/clang/lib/Rewrite/HTMLRewrite.cpp +++ b/clang/lib/Rewrite/HTMLRewrite.cpp @@ -371,6 +371,7 @@ h1 { font-size:14pt } .msg { border-radius:5px } .msg { font-family:Helvetica, sans-serif; font-size:8pt } .msg { float:left } +.msg { position:relative } .msg { padding:0.25em 1ex 0.25em 1ex } .msg { margin-top:10px; margin-bottom:10px } .msg { font-weight:bold } |