#
7e3016de |
| 10-Jan-2019 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] [NFC] Move ObjKind into a separate top-level enum in RetainSummaryManager.
Allows using it in future outside of RetEffect.
Differential Revision: https://reviews.llvm.org/D56039
llvm-sv
[analyzer] [NFC] Move ObjKind into a separate top-level enum in RetainSummaryManager.
Allows using it in future outside of RetEffect.
Differential Revision: https://reviews.llvm.org/D56039
llvm-svn: 350857
show more ...
|
#
79f0340c |
| 21-Dec-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Correct the summary violation diagnostics for the retain count checker
It should be in the past tense.
llvm-svn: 349938
|
#
f5085326 |
| 21-Dec-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Fix a bug in RetainCountDiagnostics while printing a note on mismatched summary in inlined functions
Previously, we were not printing a note at all if at least one of the parameters was n
[analyzer] Fix a bug in RetainCountDiagnostics while printing a note on mismatched summary in inlined functions
Previously, we were not printing a note at all if at least one of the parameters was not annotated.
rdar://46888422
Differential Revision: https://reviews.llvm.org/D55972
llvm-svn: 349875
show more ...
|
#
ff014867 |
| 11-Dec-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Display a diagnostics when an inlined function violates its os_consumed summary
This is currently a diagnostics, but might be upgraded to an error in the future, especially if we introduc
[analyzer] Display a diagnostics when an inlined function violates its os_consumed summary
This is currently a diagnostics, but might be upgraded to an error in the future, especially if we introduce os_return_on_success attributes.
rdar://46359592
Differential Revision: https://reviews.llvm.org/D55530
llvm-svn: 348820
show more ...
|
#
79ed11c1 |
| 11-Dec-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Resolve another bug where the name of the leaked object was not printed properly
Differential Revision: https://reviews.llvm.org/D55528
llvm-svn: 348819
|
#
b23ccecb |
| 10-Dec-2018 |
Raphael Isemann <teemperor@gmail.com> |
Misc typos fixes in ./lib folder
Summary: Found via `codespell -q 3 -I ../clang-whitelist.txt -L uint,importd,crasher,gonna,cant,ue,ons,orign,ned`
Reviewers: teemperor
Reviewed By: teemperor
Subs
Misc typos fixes in ./lib folder
Summary: Found via `codespell -q 3 -I ../clang-whitelist.txt -L uint,importd,crasher,gonna,cant,ue,ons,orign,ned`
Reviewers: teemperor
Reviewed By: teemperor
Subscribers: teemperor, jholewinski, jvesely, nhaehnle, whisperity, jfb, cfe-commits
Differential Revision: https://reviews.llvm.org/D55475
llvm-svn: 348755
show more ...
|
Revision tags: llvmorg-7.0.1, llvmorg-7.0.1-rc3 |
|
#
936a9c97 |
| 07-Dec-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] RetainCountChecker: remove untested, unused, incorrect option IncludeAllocationLine
The option has no tests, is not used anywhere, and is actually incorrect: it prints the line number wit
[analyzer] RetainCountChecker: remove untested, unused, incorrect option IncludeAllocationLine
The option has no tests, is not used anywhere, and is actually incorrect: it prints the line number without the reference to a file, which can be outright incorrect.
Differential Revision: https://reviews.llvm.org/D55385
llvm-svn: 348637
show more ...
|
#
ebf787b1 |
| 30-Nov-2018 |
Mikael Holmen <mikael.holmen@ericsson.com> |
Fix warning about unused variable [NFC]
llvm-svn: 347987
|
#
ceff730f |
| 30-Nov-2018 |
Haojian Wu <hokein@google.com> |
Fix a use-after-scope bug.
llvm-svn: 347970
|
#
2bd644eb |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] RetainCountChecker: recognize that OSObject can be created directly using an operator "new"
Differential Revision: https://reviews.llvm.org/D55076
llvm-svn: 347949
|
#
b43772d8 |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Switch retain count checker for OSObject to use OS_* attributes
Instead of generalized reference counting annotations.
Differential Revision: https://reviews.llvm.org/D55041
llvm-svn: 3
[analyzer] Switch retain count checker for OSObject to use OS_* attributes
Instead of generalized reference counting annotations.
Differential Revision: https://reviews.llvm.org/D55041
llvm-svn: 347948
show more ...
|
#
62db8860 |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] [NFC] Minor refactoring of RetainCountDiagnostics
Move visitors to the implementation file, move a complicated logic into a function.
Differential Revision: https://reviews.llvm.org/D550
[analyzer] [NFC] Minor refactoring of RetainCountDiagnostics
Move visitors to the implementation file, move a complicated logic into a function.
Differential Revision: https://reviews.llvm.org/D55036
llvm-svn: 347946
show more ...
|
#
e2f09542 |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Print a fully qualified name for functions in RetainCountChecker diagnostics
Attempt to get a fully qualified name from AST if an SVal corresponding to the object is not available.
Diffe
[analyzer] Print a fully qualified name for functions in RetainCountChecker diagnostics
Attempt to get a fully qualified name from AST if an SVal corresponding to the object is not available.
Differential Revision: https://reviews.llvm.org/D55034
llvm-svn: 347944
show more ...
|
#
f893ea15 |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Add the type of the leaked object to the diagnostic message
If the object is a temporary, and there is no variable it binds to, let's at least print out the object name in order to help d
[analyzer] Add the type of the leaked object to the diagnostic message
If the object is a temporary, and there is no variable it binds to, let's at least print out the object name in order to help differentiate it from other temporaries.
rdar://45175098
Differential Revision: https://reviews.llvm.org/D55033
llvm-svn: 347943
show more ...
|
#
a1c3bb88 |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Reference leaked object by name, even if it was created in an inlined function.
rdar://45532181
Differential Revision: https://reviews.llvm.org/D54973
llvm-svn: 347942
|
#
b3303d7c |
| 30-Nov-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] [NFC] Some miscellaneous clean ups and documentation fixes.
Differential Revision: https://reviews.llvm.org/D54971
llvm-svn: 347940
|
Revision tags: llvmorg-7.0.1-rc2, llvmorg-7.0.1-rc1 |
|
#
c82d457d |
| 28-Sep-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter
Differential Revision: https://reviews.llvm.org/D52640
llvm-svn: 343353
|
Revision tags: llvmorg-7.0.0, llvmorg-7.0.0-rc3 |
|
#
ab0011eb |
| 23-Aug-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] Preliminary version of retain count checking for OSObjects
Has quite a lot of false positives, disabled behind the flag.
Differential Revision: https://reviews.llvm.org/D50880
llvm-svn:
[analyzer] Preliminary version of retain count checking for OSObjects
Has quite a lot of false positives, disabled behind the flag.
Differential Revision: https://reviews.llvm.org/D50880
llvm-svn: 340502
show more ...
|
Revision tags: llvmorg-7.0.0-rc2 |
|
#
6e9fd137 |
| 22-Aug-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] [NFC] Fix minor formatting issues in RetainCountChecker
Differential Revision: https://reviews.llvm.org/D51072
llvm-svn: 340378
|
#
70c2ee30 |
| 17-Aug-2018 |
George Karpenkov <ekarpenkov@apple.com> |
[analyzer] [NFC] Split up RetainCountChecker
At some point, staring at 4k+ LOC file becomes a bit hard.
Differential Revision: https://reviews.llvm.org/D50821
llvm-svn: 340092
|