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: dcough...@apple.com
          Reporter: noqnoq...@gmail.com
                CC: dcough...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to