Skip to content

Invalid HTML in reports with macros and popups. #44127

@haoNoQ

Description

@haoNoQ
Bugzilla Link 44782
Resolution FIXED
Resolved on Jul 16, 2020 10:06
Version trunk
OS All
Blocks #43900
Attachments The buggy HTML output.
CC @devincoughlin,@zmodem

Extended Description

$ 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions