[llvm-bugs] [Bug 44782] New: Invalid HTML in reports with macros and popups.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 4 13:11:05 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44782

            Bug ID: 44782
           Summary: Invalid HTML in reports with macros and popups.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: dcoughlin at apple.com
          Reporter: noqnoqneo at gmail.com
                CC: dcoughlin at apple.com, llvm-bugs at lists.llvm.org

Created attachment 23089
  --> https://bugs.llvm.org/attachment.cgi?id=23089&action=edit
The buggy HTML output.

$ cat test.c

  #define MACRO if (b)

  void foo2() {
    int a;
    int b = 1;
    MACRO
      bar(a);
  }

$ clang -cc1 -analyze -analyzer-checker=core test.c \
             -analyzer-output=html -o .

  *HTML output attached*


Basically, it gets messy when it tries to produce popup pieces within macro
pieces.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200204/209c2e09/attachment.html>


More information about the llvm-bugs mailing list