llvm-project/clang/test/Analysis/Inputs
Adam Balogh 60bad941a1 [Analyzer] Iterator Modeling - Model `std::advance()`, `std::prev()` and `std::next()`
Whenever the analyzer budget runs out just at the point where
`std::advance()`, `std::prev()` or `std::next()` is invoked the function
are not inlined. This results in strange behavior such as
`std::prev(v.end())` equals `v.end()`. To prevent this model these
functions if they were not inlined. It may also happend that although
`std::advance()` is inlined but a function it calls inside (e.g.
`__advance()` in some implementations) is not. This case is also handled
in this patch.

Differential Revision: https://reviews.llvm.org/D76361
2020-03-23 15:29:55 +01:00
..
Models
expected-plists [analyzer] Fix Objective-C accessor body farms after 2073dd2d. 2019-11-21 18:59:46 -08:00
ctu-chain.cpp Resubmit [analyzer] Support for naive cross translation unit analysis 2018-03-01 14:54:16 +00:00
ctu-other.c [ASTImporter] Fix name conflict handling with different strategies 2019-08-27 11:36:10 +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] Import ctor initializers after setting flags. 2019-08-16 12:10:03 +00:00
ctu-other.cpp.externalDefMap.txt [ASTImporter] Import ctor initializers after setting flags. 2019-08-16 12:10:03 +00:00
llvm.h [analyzer] CastValueChecker: Avoid modeling casts between objects. 2019-08-23 03:23:58 +00:00
localization-pch.h
no-store-suppression.h [analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers. 2019-04-05 20:18:53 +00:00
plist-macros-ctu.c [CrossTU] Fix plist macro expansion if macro in other file. 2019-07-25 10:53:22 +00:00
plist-macros-ctu.h [CrossTU] Fix plist macro expansion if macro in other file. 2019-07-25 10:53:22 +00:00
plist-macros-with-expansion-ctu.c.externalDefMap.txt [CrossTU] Fix plist macro expansion if macro in other file. 2019-07-25 10:53:22 +00:00
qt-simulator.h
system-header-simulator-cxx-std-suppression.h
system-header-simulator-cxx.h [Analyzer] Iterator Modeling - Model `std::advance()`, `std::prev()` and `std::next()` 2020-03-23 15:29:55 +01: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 [analyzer] PthreadLock: Implement mutex escaping. 2020-01-24 18:43:24 +03:00
system-header-simulator-for-simple-stream.h
system-header-simulator-for-valist.h
system-header-simulator-objc.h [analyzer] Teach MismatchedDealloc about initWithBytesNoCopy with deallocator. 2019-12-18 14:19:17 -08:00
system-header-simulator.h [analyzer] VforkChecker: allow execve after vfork. 2020-02-18 09:19:29 +03:00
taint-generic-config-ill-formed.yaml [analyzer] Add yaml parser to GenericTaintChecker 2019-07-28 13:38:04 +00:00
taint-generic-config-invalid-arg.yaml [analyzer] Add yaml parser to GenericTaintChecker 2019-07-28 13:38:04 +00:00
taint-generic-config.yaml [analyzer] Add support for namespaces to GenericTaintChecker 2019-12-15 12:11:22 +01:00