Dulma Churchill
4769c481ad
[linters] Add a linter for checking const pointers to Objective-C classes
...
Reviewed By: jvillard
Differential Revision: D5985910
fbshipit-source-id: 9abbb78
7 years ago
Dulma Churchill
d8765d1d44
[linters] Include only base name of ObjC methods in the linters bug hash
...
Reviewed By: ddino
Differential Revision: D5815441
fbshipit-source-id: 059ff8d
7 years ago
Dulma Churchill
9f19f12a1b
[linters] Fix incorrect assert false in Component linters
...
Reviewed By: ddino
Differential Revision: D5706229
fbshipit-source-id: c3bd287
7 years ago
Dulma Churchill
4a6652faef
[linters] Do not report mutable local variable in components advice on static locals
...
Reviewed By: jberdine
Differential Revision: D5397446
fbshipit-source-id: eeeb9b4
8 years ago
Ryan Rhee
b557b49921
[componentkit] Initializer rule should return multiple issues
...
Reviewed By: jvillard
Differential Revision: D4359088
fbshipit-source-id: cd6d075
8 years ago
Andrzej Kotulski
2810740377
[tests] Make project root infer/test/ for clang tests
...
Summary:
Run all clang tests with project-root at `infer/tests`. I need it because we'll start resolving symbolic links
soon and some tests would lead outside of project root which means we'd start seeing absolute paths in recorded tests.
Diff that does same thing for java tests: D4233236
Reviewed By: jberdine
Differential Revision: D4233194
fbshipit-source-id: c261a2b
8 years ago
Jules Villard
15d80e04df
[tests] record summary of bug traces
...
Summary:
Record an abstraction of the bug traces in the tests. The abstraction of a
trace is the sequence of descriptions. In practice, descriptions are either
empty, or of the form "start/end/return from/call to procedure X". They seem
pretty stable.
Motivation: there is nothing testing the traces reported by Infer right now,
even though they are surfaced to developers. For instance, Quandary uses
--issues-txt instead of --issues-tests to make sure the traces do not regress.
This change would make this approach more widespread.
Reviewed By: sblackshear
Differential Revision: D4159597
fbshipit-source-id: 9c83952
8 years ago
Ryan Rhee
a45d59e478
[componentkit] Don't count unavailable initializers
...
Reviewed By: tks2103
Differential Revision: D4090154
fbshipit-source-id: e0626e6
8 years ago
Ryan Rhee
5752b14d9c
[componentkit] Skip implicit variables during MLV check
...
Reviewed By: dulmarod
Differential Revision: D4084601
fbshipit-source-id: 1c919cd
8 years ago
Ryan Rhee
5580be8dcc
[componentkit] Initializer With Side-Effect Analyzer
...
Reviewed By: dulmarod
Differential Revision: D4063217
fbshipit-source-id: 7196a64
8 years ago
Ryan Rhee
c2a8dae26f
[componentkit] Multiple factory methods
...
Reviewed By: dulmarod
Differential Revision: D4033747
fbshipit-source-id: cf2801b
8 years ago
Ryan Rhee
e73350598a
[componentkit] Unconventional superclass rule
...
Reviewed By: dulmarod
Differential Revision: D3954639
fbshipit-source-id: 5d61c66
8 years ago
Ryan Rhee
272c21ff70
[componentkit] Factory functions analyzer
...
Reviewed By: dulmarod
Differential Revision: D3933693
fbshipit-source-id: 6294fb4
8 years ago
Ryan Rhee
967532ea2e
[componentkit][test] Rename test files
...
Reviewed By: dulmarod
Differential Revision: D3924307
fbshipit-source-id: 77ddfac
8 years ago
Ryan Rhee
d2ac2242c4
[componentkit][test] typedef struct -> class
...
Reviewed By: dulmarod
Differential Revision: D3909628
fbshipit-source-id: 52e9539
8 years ago
Ryan Rhee
f54b84c751
[componentkit][test] Move mock CK imports to own .h file
...
Reviewed By: dulmarod
Differential Revision: D3909240
fbshipit-source-id: 66e8b71
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
fe21442d47
[tests] Convert the linter tests to the new direct format
...
Reviewed By: jberdine
Differential Revision: D3877153
fbshipit-source-id: a0efb3c
8 years ago