]> granicus.if.org Git - clang/commit
[analyzer][ctu] fix unsortable diagnostics
authorRafael Stahl <r.stahl@tum.de>
Wed, 4 Jul 2018 14:12:58 +0000 (14:12 +0000)
committerRafael Stahl <r.stahl@tum.de>
Wed, 4 Jul 2018 14:12:58 +0000 (14:12 +0000)
commitd29eb3a6ffe17e9da5dcaa4fb50c5738e0a57d1e
tree493fb73fce4c980880d1a8d7b7f27bae8322083f
parent06787e3d57b9ee0cc5e3bf5003b2f95f4c357c9a
[analyzer][ctu] fix unsortable diagnostics

Summary: In the provided test case the PathDiagnostic compare function was not able to find a difference.

Reviewers: xazax.hun, NoQ, dcoughlin, george.karpenkov

Reviewed By: george.karpenkov

Subscribers: a_sidorin, szepet, rnkovacs, a.sidorin, mikhail.ramalho, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336275 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/PathDiagnostic.cpp
test/Analysis/Inputs/ctu-other.cpp
test/Analysis/Inputs/externalFnMap.txt
test/Analysis/ctu-hdr.h [new file with mode: 0644]
test/Analysis/ctu-main.cpp