Ted Kremenek
|
99bb39afb4
[analyzer] Apply whitespace cleanups by Honggyu Kim.
|
10 tahun lalu |
Aaron Ballman
|
e1c2ad65ca
Clarify pointer ownership semantics by hoisting the std::unique_ptr creation to the caller instead of hiding it in emitReport. NFC.
|
10 tahun lalu |
Alexander Kornienko
|
8ca7705aa3
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
|
10 tahun lalu |
Alexander Kornienko
|
ac58acc7f2
Fixed/added namespace ending comments using clang-tidy. NFC
|
10 tahun lalu |
Jordan Rose
|
2597d9fa7d
[analyzer] Check for NULL passed to CFAutorelease.
|
11 tahun lalu |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 tahun lalu |
Jordan Rose
|
a5a035243b
[analyzer] When checking Foundation method calls, match the selectors exactly.
|
11 tahun lalu |
Ahmed Charles
|
70639e8de3
Replace OwningPtr with std::unique_ptr.
|
11 tahun lalu |
Benjamin Kramer
|
ba9fd9e97e
[C++11] Replace llvm::tie with std::tie.
|
11 tahun lalu |
Alexander Kornienko
|
15c01b27f5
Expose the name of the checker producing each diagnostic message.
|
11 tahun lalu |
Jordan Rose
|
636e67712c
[analyzer] Objective-C object literals are always non-nil.
|
11 tahun lalu |
Aaron Ballman
|
73926cc506
Fixed a FIXME; created a print method for Selectors that accepts a raw_ostream, and started using it in places it made sense.
|
11 tahun lalu |
Alp Toker
|
0650de4fc1
Remove a whole lot of unused variables
|
11 tahun lalu |
Jordan Rose
|
6b1a4c83fb
Revert 'Tweak ContainerNonEmptyMap with "int" instead of "bool"'.
|
11 tahun lalu |
NAKAMURA Takumi
|
2baea2887d
StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp: Tweak ContainerNonEmptyMap with "int" instead of "bool", to appease building since r194235.
|
11 tahun lalu |
Jordan Rose
|
219103d76a
[analyzer] Track whether an ObjC for-in loop had zero iterations.
|
11 tahun lalu |
Anna Zaks
|
741c5411f4
[analyzer] Track the count of NSOrderedSet similarly to other fast enumerations.
|
11 tahun lalu |
Anna Zaks
|
2ffcd18b84
[analyzer] Use output form collections’ count to decide if ObjC for loop should be entered
|
12 tahun lalu |
Anna Zaks
|
ef202c35b3
[analyzer] Refactor: address Jordan’s code review of r181738.
|
12 tahun lalu |
Anna Zaks
|
b834a78f9b
[analyzer] Warn about nil elements/keys/values in array and dictionary literals.
|
12 tahun lalu |
Anna Zaks
|
f2d8fbed93
[analyzer] Assume [NSNull null] does not return nil.
|
12 tahun lalu |
Jordan Rose
|
5d2e4e1f9e
[analyzer] An ObjC for-in loop runs 0 times if the collection is nil.
|
12 tahun lalu |
Jordan Rose
|
a5796f8722
[analyzer] Replace isIntegerType() with isIntegerOrEnumerationType().
|
12 tahun lalu |
Ted Kremenek
|
f34cb3d3df
Tweak warning text for nil value in ObjC container warning.
|
12 tahun lalu |
Anna Zaks
|
24cac5a484
[analyzer] Reword error messages for nil keys and values of NSMutableDictionary.
|
12 tahun lalu |
Anna Zaks
|
1533833e21
[analyzer] Make sure IDC works for ‘NSContainer value/key is nil’ checks.
|
12 tahun lalu |
Anna Zaks
|
b095782ec0
[analyzer] Warn when a nil key or value are passed to NSMutableDictionary and ensure it works with subscripting.
|
12 tahun lalu |
Anna Zaks
|
4b94f4daa1
[analyzer] Warn when a ‘nil’ object is added to NSArray or NSMutableArray.
|
12 tahun lalu |
Anna Zaks
|
80412c4e28
[analyzer] Rename AttrNonNullChecker -> NonNullParamChecker
|
12 tahun lalu |
David Blaikie
|
0adb175023
Avoid implicit conversions of Optional<T> to bool.
|
12 tahun lalu |