]> granicus.if.org Git - clang/commit
[analyzer] ReturnValueChecker: Model the guaranteed boolean return value of function...
authorCsaba Dabis <dabis.csaba98@gmail.com>
Thu, 4 Jul 2019 00:50:50 +0000 (00:50 +0000)
committerCsaba Dabis <dabis.csaba98@gmail.com>
Thu, 4 Jul 2019 00:50:50 +0000 (00:50 +0000)
commitf1a3091b2315ba471e3df218853fc75b1b6db6b6
tree194acfa0f3b6cc031104e8e1d074f3afe04091fc
parent26c91b65f934ea549fc71c599bc7d32aee3e0b33
[analyzer] ReturnValueChecker: Model the guaranteed boolean return value of function calls

Summary: It models the known LLVM methods paired with their class.

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By: NoQ

Subscribers: dschuff, aheejin, mgorny, szepet, rnkovacs, a.sidorin,
             mikhail.ramalho, donat.nagy, dkrupp, cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365103 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/Checkers.td
include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp [new file with mode: 0644]
lib/StaticAnalyzer/Core/PathDiagnostic.cpp
test/Analysis/return-value-guaranteed.cpp [new file with mode: 0644]