aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGuruprasad Hegde <gruuprasada@gmail.com>2023-08-03 11:44:05 +0200
committerBalazs Benics <benicsbalazs@gmail.com>2023-08-03 11:44:05 +0200
commite73ae745b0d660d3974c04b2281575f325971338 (patch)
treec20f0f4bc9d1aa70289b224aaabfdb7c6ed934cb /clang/lib/Frontend/CompilerInvocation.cpp
parenta1f04b7037ad43e27dc196a687d954c78a97247a (diff)
downloadllvm-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