Dulma Churchill
98afe25b54
[linters] Take the attributed types into account when finding pointer types
...
Reviewed By: martinoluca
Differential Revision: D4010004
fbshipit-source-id: aa70894
8 years ago
Josh Berdine
6697ed781f
[tests] Rerun test without swallowing output on failure
...
Reviewed By: jvillard
Differential Revision: D3992995
fbshipit-source-id: 85d2586
8 years ago
Dulma Churchill
561f4fdfad
[linters] Adding a new type of procname that is used for lint bugs that are not in any method
...
Reviewed By: cristianoc
Differential Revision: D3913535
fbshipit-source-id: cb8f840
8 years ago
Cristiano Calcagno
717b61192e
[tests] Convert java harness and crashcontext tests to new direct format.
...
Summary:
Convert the last remaining tests to the new direct format: java harness and crashcontext.
Remove what is left of the old testing infrastructure.
Reviewed By: sblackshear
Differential Revision: D3886355
fbshipit-source-id: 5117868
8 years ago
Cristiano Calcagno
847c141912
[tests] Clean up test files shared between frontend and endtoend tests
...
Reviewed By: jberdine
Differential Revision: D3893900
fbshipit-source-id: 497effc
8 years ago
Cristiano Calcagno
fe21442d47
[tests] Convert the linter tests to the new direct format
...
Reviewed By: jberdine
Differential Revision: D3877153
fbshipit-source-id: a0efb3c
8 years ago
Dulma Churchill
6ad78e7d9c
Add case for blocks when building a procname
...
Summary: That case was missing and there was an assert false.
Reviewed By: martinoluca
Differential Revision: D3757762
fbshipit-source-id: 23fb8c1
8 years ago
Martino Luca
b7d70ff178
Add support for extra cases of BAD_POINTER_COMPARISON warning
...
Reviewed By: akotulski
Differential Revision: D3674896
fbshipit-source-id: 48d10bf
8 years ago
Martino Luca
e3132152cb
Check for the presence of removeObserver into class hierarchy
...
Reviewed By: jberdine
Differential Revision: D3669624
fbshipit-source-id: 559c66e
8 years ago
Martino Luca
bed9b31c62
Add general context to linters framework to implement smarter checks
...
Summary:
Make checks context-aware, to increase flexibility.
As an example application of this change, whenever an atomic property is accessed from within a synchronized block, skip reporting a `DIRECT_ATOMIC_PROPERTY_ACCESS` warning.
Reviewed By: jvillard
Differential Revision: D3648831
fbshipit-source-id: c033f45
8 years ago
Martino Luca
da2717ff2a
Migrate BAD_POINTER_COMPARISON check from backend to linters infra
...
Reviewed By: dulmarod
Differential Revision: D3614726
fbshipit-source-id: bdc7651
8 years ago
Dulma Churchill
8b0b485921
Refactoring of tests, separating the tests for linters
...
Reviewed By: sblackshear
Differential Revision: D3569981
fbshipit-source-id: 198647b
8 years ago