Ted Kremenek
|
99bb39afb4
[analyzer] Apply whitespace cleanups by Honggyu Kim.
|
10 vuotta sitten |
Eric Christopher
|
dfc33ed9ea
Fix "the the" in comments/documentation/etc.
|
10 vuotta sitten |
Craig Topper
|
bbac840f3c
Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created.
|
11 vuotta sitten |
Craig Topper
|
489b66f705
Remove llvm:: from uses of ArrayRef.
|
11 vuotta sitten |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 vuotta sitten |
Jordan Rose
|
3560c1ef5b
[analyzer] Functions marked __attribute__((const)) don't modify any memory.
|
11 vuotta sitten |
Aaron Ballman
|
8328f6462b
[C++11] Replacing RecordDecl iterators field_begin() and field_end() with iterator_range fields(). Updating all of the usages of the iterators with range-based for loops.
|
11 vuotta sitten |
Alp Toker
|
37545f747c
Rename getResultType() on function and method declarations to getReturnType()
|
11 vuotta sitten |
Ted Kremenek
|
d9f32582b1
Change CallEvent to use ArrayRef<> interface to get formal parameters of callee.
|
11 vuotta sitten |
Jordan Rose
|
2ff5a1edc0
[analyzer] BlockCall shouldn't really be an AnyFunctionCall.
|
11 vuotta sitten |
Jordan Rose
|
f0708cabe7
[analyzer] Model getters of known-@synthesized Objective-C properties.
|
11 vuotta sitten |
Jordan Rose
|
e5a3d59ade
[analyzer] Pointers escape into +[NSValue valueWithPointer:]...
|
11 vuotta sitten |
Alp Toker
|
759afce785
Only mark dump() function definitions 'used' in debug builds
|
11 vuotta sitten |
Jordan Rose
|
9b072b31ee
[analyzer] Make inlining decisions based on the callee being variadic.
|
12 vuotta sitten |
Jordan Rose
|
81557223ba
[analyzer] Handle destructors for the argument to C++ 'delete'.
|
12 vuotta sitten |
Anton Yartsev
|
da8d37ce42
[analyzer] This patch removes passing around of const-invalidation vs regular-invalidation info by passing around a datastructure that maps regions and symbols to the type of invalidation they experience. This simplifies the code and would allow to associate more different invalidation types in the future.
|
12 vuotta sitten |
Jordan Rose
|
7c98f9f5c3
[analyzer] Use getParentIgnoreParenCasts instead of doing it by hand.
|
12 vuotta sitten |
Anna Zaks
|
de940da033
[analyzer] More reliably detect property accessors.
|
12 vuotta sitten |
Eli Friedman
|
24146975f1
Split isFromMainFile into two functions.
|
12 vuotta sitten |
Pavel Labath
|
37926da411
Fix a crash in the static analyzer (bug #16307)
|
12 vuotta sitten |
Jordan Rose
|
b347c76054
[analyzer] Don't crash if a block's signature just has the return type.
|
12 vuotta sitten |
Jordan Rose
|
eb41640fb4
[analyzer] Don't crash if a block doesn't have a type signature.
|
12 vuotta sitten |
Jordan Rose
|
898be7b4a7
[analyzer] Don't warn for returning void expressions in void blocks.
|
12 vuotta sitten |
Anna Zaks
|
658a28479d
[analyzer] Teach invalidateRegions that regions within LazyCompoundVal need to be invalidated
|
12 vuotta sitten |
Jordan Rose
|
f8ddc09898
[analyzer] Invalidate regions indirectly accessible through const pointers.
|
12 vuotta sitten |
Jordan Rose
|
e1a2e90876
[analyzer] Remove strip of ElementRegion in CallEvent::invalidateRegions.
|
12 vuotta sitten |
Jordan Rose
|
962fbc4666
[analyzer] Clean up a few doc comments for ProgramState and CallEvent.
|
12 vuotta sitten |
David Blaikie
|
b07805485c
Remove the CFGElement "Invalid" state.
|
12 vuotta sitten |
David Blaikie
|
fdf6a279c9
Replace CFGElement llvm::cast support to be well-defined.
|
12 vuotta sitten |
David Blaikie
|
dc84cd5efd
Include llvm::Optional in clang/Basic/LLVM.h
|
12 vuotta sitten |