-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
Kind: Bug ⚠️Level: Moderate (2)Plugin: C++Issues related to the parsing and presentation of C++ projects.Issues related to the parsing and presentation of C++ projects.
Milestone
Description
The current version when generating the AST HTML output does not seem to call the appropriate methods which would result in calls to our ANSI colours -> HTML sequences formatting. It is very likely that during the uplift to LLVM 10.0 (#432) we forgot to add a virtual method's override or something like that.
Oddly enough, some of the logic, such as putting things between ' in the raw output to <tt> still runs, as seen in the picture. The relevant code snippet that seems to get executed properly:
CodeCompass/plugins/cpp_reparse/service/src/asthtml.cpp
Lines 54 to 66 in e39c213
| case '\'': | |
| // Things between apostrophes are usually type or function names, | |
| // so we present them as monospace. | |
| if (!monospaceEmitted) | |
| buffer.append("<tt>"); | |
| buffer.append("'"); | |
| if (monospaceEmitted) | |
| buffer.append("</tt>"); | |
| monospaceEmitted = !monospaceEmitted; | |
| break; |
Metadata
Metadata
Assignees
Labels
Kind: Bug ⚠️Level: Moderate (2)Plugin: C++Issues related to the parsing and presentation of C++ projects.Issues related to the parsing and presentation of C++ projects.
