]> granicus.if.org Git - clang/commit
[analyzer] Fix filename in cross-file HTML report
authorMalcolm Parsons <malcolm.parsons@gmail.com>
Wed, 2 May 2018 14:26:12 +0000 (14:26 +0000)
committerMalcolm Parsons <malcolm.parsons@gmail.com>
Wed, 2 May 2018 14:26:12 +0000 (14:26 +0000)
commitea28cfba7132378a58459ba573d63a44c2828ee6
tree60f5802626b72e22312d10d096a52bf3956f3644
parent08aa612e2647cb62f5b6a6123aef4a1f28f72b00
[analyzer] Fix filename in cross-file HTML report

Summary:
The filename is currently taken from the start of the path, while the
line and column are taken from the end of the path.
This didn't matter until cross-file path reporting was added.

Reviewers: george.karpenkov, dcoughlin, vlad.tsyrklevich

Reviewed By: george.karpenkov, vlad.tsyrklevich

Subscribers: xazax.hun, szepet, a.sidorin, cfe-commits

Differential Revision: https://reviews.llvm.org/D45611

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331361 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
test/Coverage/html-multifile-diagnostics.c