]> granicus.if.org Git - clang/commit
[analyzer] Make issue hash related tests more concise
authorGabor Horvath <xazax.hun@gmail.com>
Mon, 30 Oct 2017 12:02:23 +0000 (12:02 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Mon, 30 Oct 2017 12:02:23 +0000 (12:02 +0000)
commita154e5b192b01366f25a62715a145a4cec3f8d23
tree4b30c9b303060e32d2db4fef8838586a15bbd1e1
parenta855bcfaf28c168e378e403990848acf17cefb69
[analyzer] Make issue hash related tests more concise

Extend ExprInspection checker to make it possible to dump the issue hash of
arbitrary expressions. This change makes it possible to make issue hash related
tests more concise and also makes debugging issue hash related problems easier.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316899 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
test/Analysis/bug_hash_test.cpp
test/Analysis/bug_hash_test.m