OSDN Git Service

[analyzer][NFC] Add unittest for FalsePositiveRefutationBRVisitor
authorBalazs Benics <benicsbalazs@gmail.com>
Tue, 21 Apr 2020 13:44:34 +0000 (15:44 +0200)
committerBalazs Benics <benicsbalazs@gmail.com>
Mon, 29 Jun 2020 14:54:17 +0000 (16:54 +0200)
commite22cae32c5c4cf8c49b674cea34c105a6cb015f9
tree3acff807c14c8c59eec584825589c5d75dc9427d
parent333aa690f4cd16b5c96631c104d1e0d4cf8fe78b
[analyzer][NFC] Add unittest for FalsePositiveRefutationBRVisitor

Adds the test infrastructure for testing the FalsePositiveRefutationBRVisitor.
It will be extended in the D78457 patch, which demonstrates and fixes a bug in
the visitor.

Differential Revision: https://reviews.llvm.org/D78704
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/unittests/StaticAnalyzer/CMakeLists.txt
clang/unittests/StaticAnalyzer/CheckerRegistration.h
clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp [new file with mode: 0644]