llvm-project/clang/test/Analysis/Inputs
Artem Dergachev 5c6fc36de8 [analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers.
The idea behind this heuristic is that normally the visitor is there to
inform the user that a certain function may fail to initialize a certain
out-parameter. For system header functions this is usually dictated by the
contract, and it's unlikely that the header function has accidentally
forgot to put the value into the out-parameter; it's more likely
that the user has intentionally skipped the error check.

Warnings on skipped error checks are more like security warnings;
they aren't necessarily useful for all users, and they should instead
be introduced on a per-API basis.

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

llvm-svn: 357810
2019-04-05 20:18:53 +00:00
..
Models
expected-plists [analyzer] Fix function macro crash 2019-03-14 13:38:16 +00:00
ctu-chain.cpp Resubmit [analyzer] Support for naive cross translation unit analysis 2018-03-01 14:54:16 +00:00
ctu-other.c [CTU] Add more lit tests and better error handling 2018-12-07 16:05:58 +00:00
ctu-other.c.externalDefMap.txt [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions 2019-01-10 17:44:04 +00:00
ctu-other.cpp [ASTImporter] Fix handling of overriden methods during ASTImport 2019-01-28 21:55:33 +00:00
ctu-other.cpp.externalDefMap.txt [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions 2019-01-10 17:44:04 +00:00
localization-pch.h [analyzer] Use lazily created buffer in EmptyLocalizationContextChecker 2016-08-30 23:07:14 +00:00
no-store-suppression.h [analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers. 2019-04-05 20:18:53 +00:00
qt-simulator.h [analyzer] Add another exception for Qt in MallocChecker 2016-12-16 12:21:55 +00:00
system-header-simulator-cxx-std-suppression.h
system-header-simulator-cxx.h [Analyzer] Checker for non-determinism caused by sorting of pointer-like elements 2019-03-08 20:13:53 +00:00
system-header-simulator-for-cxx-uninitialized-object.h [analyzer] Checker for uninitialized C++ objects 2018-06-18 11:50:17 +00:00
system-header-simulator-for-malloc.h
system-header-simulator-for-nullability-cxx.h [analyzer] Do not crash in CallEvent.getReturnType() 2018-03-24 01:53:12 +00:00
system-header-simulator-for-nullability.h [analyzer] Record nullability implications on getting items from NSDictionary 2018-08-10 22:27:04 +00:00
system-header-simulator-for-objc-dealloc.h [analyzer] Syntactic matcher for leaks associated with run loop and autoreleasepool 2018-07-25 01:27:15 +00:00
system-header-simulator-for-pthread-lock.h
system-header-simulator-for-simple-stream.h
system-header-simulator-for-valist.h Reapply "[analyzer] Added valist related checkers." 2016-08-22 11:21:30 +00:00
system-header-simulator-objc.h [analyzer] Refer to macro names in diagnostics for macros representing a literal 2016-12-15 22:55:11 +00:00
system-header-simulator.h [analyzer] Add missing pre-post-statement callbacks for OffsetOfExpr. 2018-02-10 00:55:49 +00:00