David Lively
5d4a27ea54
RFC: stop using _ to separate ObjC/C++ class name from method in Typ.Procname.to_string
...
Reviewed By: jvillard
Differential Revision: D14736442
fbshipit-source-id: 500df354b
6 years ago
Dino Distefano
6fe3edc44e
Extending type matching to BlockExpr
...
Reviewed By: jvillard
Differential Revision: D10853084
fbshipit-source-id: 231cf4693
6 years ago
Dino Distefano
08a26d4ba1
First approximation of stateless
...
Reviewed By: jvillard
Differential Revision: D10141376
fbshipit-source-id: a1dbb4c21
6 years ago
Dino Distefano
89700a7d95
Added new predicated for captured values
...
Reviewed By: jvillard
Differential Revision: D10162271
fbshipit-source-id: 47f9420b8
6 years ago
Jules Villard
30c470eb48
[tests] record error bucket in expected output
...
Summary:
It's useful to test that the bucket a given error is classified as doesn't
change over time without notice.
This records the bucket for *all* the tests, even though some never produce a
bucket. This is to be on the safe size instead of risking to forget adding the
bucket information when the test changes, or when copy/pasting from a test that
doesn't have buckets to one that does.
The implementation is pretty crude: it greps the beginning of the qualifier
string for a `[bucket]`.
Reviewed By: mbouaziz
Differential Revision: D8236393
fbshipit-source-id: b3b1eb9
7 years ago
Jules Villard
8b882ac1df
Change license to MIT
...
Summary:
Change the license of the source code from BSD + PATENTS to MIT.
Change `checkCopyright` to reflect the new license and learn some new file
types.
Generated with:
```
git grep BSD | xargs -n 1 ./scripts/checkCopyright -i
```
Reviewed By: jeremydubreil, mbouaziz, jberdine
Differential Revision: D8071249
fbshipit-source-id: 97ca23a
7 years ago
Jeremy Dubreil
d74f189dfe
[infer] add the report kind to the list of expected output
...
Reviewed By: dulmarod
Differential Revision: D7209545
fbshipit-source-id: aab32f3
7 years ago
Dulma Churchill
5569ee751a
[linters] Add transitions Fields and FieldName
...
Reviewed By: jvillard
Differential Revision: D5834422
fbshipit-source-id: 11519b3
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
b99b653ffa
[linters] Fix the computing of the successors of method declarations
...
Reviewed By: ddino
Differential Revision: D5814233
fbshipit-source-id: 84fae71
7 years ago
Dulma Churchill
7e3298711c
[AL] Compute a witness child node when computing formulas to be used for more precise bug hashing
...
Reviewed By: ddino
Differential Revision: D5767064
fbshipit-source-id: bff07cf
7 years ago
Dulma Churchill
47221ab273
[linters] Add support for Cxx structs when querying types
...
Reviewed By: jvillard
Differential Revision: D5745746
fbshipit-source-id: 90b7a36
7 years ago
Dulma Churchill
ecd79a56d3
[linters] Support transition Parameters also by ObjC method calls
...
Reviewed By: jvillard
Differential Revision: D5745582
fbshipit-source-id: 20b37f3
7 years ago
Dulma Churchill
5ead13a225
Fixing crash that happened when reporting a lint issue in a templated method.
...
Reviewed By: jberdine
Differential Revision: D5699672
fbshipit-source-id: 230c232
7 years ago
Dulma Churchill
acbf6c90fe
[linters] Add example of checking whether a parameter passed to a function is initialized with a selector only
...
Reviewed By: dshahidehpour
Differential Revision: D5688786
fbshipit-source-id: c4c71ba
7 years ago
Dulma Churchill
0b5c992a93
[linters] Add an example of checking for an empty map in the argument of a method call
...
Reviewed By: ikenwoo
Differential Revision: D5678779
fbshipit-source-id: 90ecb0d
7 years ago
Dulma Churchill
df1063b9eb
[linters] Adding example of checking a parameter for empty struct
...
Reviewed By: jvillard
Differential Revision: D5678330
fbshipit-source-id: 3d1891f
7 years ago
Dulma Churchill
a3309926b3
[linters] Add transition parameter with label for ObjC method declarations or method calls
...
Reviewed By: ddino
Differential Revision: D5652850
fbshipit-source-id: 9174343
7 years ago
Dulma Churchill
336f6f8dff
[linters] Support reference types in the linters type parser
...
Reviewed By: jvillard
Differential Revision: D5632172
fbshipit-source-id: 4ab6ef5
7 years ago