[all-commits] [llvm/llvm-project] e54b0b: [clang][dataflow] Various formatting tweaks to HTM...

martinboehme via All-commits all-commits at lists.llvm.org
Thu Oct 12 04:12:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e54b0bef53bcab9d040f1e965e10f3558fafba44
      https://github.com/llvm/llvm-project/commit/e54b0bef53bcab9d040f1e965e10f3558fafba44
  Author: martinboehme <mboehme at google.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/HTMLLogger.css
    M clang/lib/Analysis/FlowSensitive/HTMLLogger.html

  Log Message:
  -----------
  [clang][dataflow] Various formatting tweaks to HTMLLogger. (#68392)

*  Ensure timeline entries don't have linebreaks by setting
   `min-width: max-content`.

* Give the timeline header some padding on the right so it doesn't run
into the
   "Function" header.

* Put some padding around the iteration choosers so they don't run into
each
   other.

* Eliminate the "Iteration" text from the iteration choosers, which took
up a
lot of space. It should be clear what these are without the "Iteration"
text. (This makes the above problem of iteration choosers running into
each
   other less likely, but also add the padding nonetheless.)

Before:


![html_logger_before](https://github.com/llvm/llvm-project/assets/29098113/b938360f-c943-4552-829f-7b4857260959)

After:


![html_logger_after](https://github.com/llvm/llvm-project/assets/29098113/fecf4eab-7992-4e7d-a6e1-451887b699ab)




More information about the All-commits mailing list