diff options
| author | Guruprasad Hegde <gruuprasada@gmail.com> | 2023-08-03 11:44:05 +0200 |
|---|---|---|
| committer | Balazs Benics <benicsbalazs@gmail.com> | 2023-08-03 11:44:05 +0200 |
| commit | e73ae745b0d660d3974c04b2281575f325971338 (patch) | |
| tree | c20f0f4bc9d1aa70289b224aaabfdb7c6ed934cb /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | a1f04b7037ad43e27dc196a687d954c78a97247a (diff) | |
| download | llvm-e73ae745b0d660d3974c04b2281575f325971338.zip llvm-e73ae745b0d660d3974c04b2281575f325971338.tar.gz llvm-e73ae745b0d660d3974c04b2281575f325971338.tar.bz2 | |
[analyzer] Fix incorrect link to "note" diagnostics in HTML output
IDs of the note list start from 1. Link generated for each note started
with index 0 i.e #Note0, #Note1 and so on.
As a result, first link ("#Note0") was invalid, subsequent links pointed
at wrong note.
Now, generated links to the notes start with index 1 i.e (#Note1, #Note2
and so on.
Patch by Guruprasad Hegde (gruuprasad)!
Fixes https://github.com/llvm/llvm-project/issues/64054
Differential Revision: https://reviews.llvm.org/D156724
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
