Dino Distefano
df543b900b
Making easier to specify subclassing
...
Reviewed By: dulmarod
Differential Revision: D4699748
fbshipit-source-id: 39f7c05
8 years ago
Dino Distefano
43f3a33c0c
[infer][AL-DSL] Added predicates to query method calls of a certain class (Real Version).
...
Reviewed By: dulmarod
Differential Revision: D4689148
fbshipit-source-id: 97716fd
8 years ago
Andrzej Kotulski
e363958d34
[codemod] Move `Procname` into `Typ.Procname`
...
Summary:
`Procname` needs to depend on `Typ.t` and `Typ.Struct` depends on `Procname.t`.
To resolve this circular dependency issue, move `Procname` into `Typ`
steps:
1. Move everything from `Procname` to `Typ.Procname`, remove `Procname.re(i)`
2. search & replace `Procname.` with `Typ.Procname.`
3. fix outstanding compilation issues manually
4. `yes | arc lint`
Reviewed By: jberdine
Differential Revision: D4681509
fbshipit-source-id: b07af63
8 years ago
Cristiano Calcagno
b1b5460529
Deprecate further IList functions
...
Reviewed By: jberdine
Differential Revision: D4597524
fbshipit-source-id: 87a5e34
8 years ago
Cristiano Calcagno
731dead406
More IList deprecation: fold functions
...
Reviewed By: jberdine
Differential Revision: D4588244
fbshipit-source-id: 5df1d9b
8 years ago
Dulma Churchill
9ac65a7b1d
[linters] Take current os version into account in the unavailable api check
...
Reviewed By: jvillard, martinoluca
Differential Revision: D4508223
fbshipit-source-id: c44b75d
8 years ago
Dino Distefano
fb14d31bb7
Making signature of predicates uniform
...
Reviewed By: martinoluca
Differential Revision: D4507368
fbshipit-source-id: 4957426
8 years ago
Cristiano Calcagno
5c12d98d37
Deprecate IList module in favour of Core List
...
Reviewed By: jberdine
Differential Revision: D4462130
fbshipit-source-id: e58bef0
8 years ago
Dulma Churchill
269ea5ffe5
[linters] Take into account the respondsToSelector block in the unavailable api check
...
Reviewed By: martinoluca
Differential Revision: D4455886
fbshipit-source-id: 58d4d96
8 years ago
Cristiano Calcagno
b1421bc27f
[BetterEngineering] Remove remaining uses of polymorphic equality
...
Summary:
Remove the remaining uses of polymorphic equality `=`.
In case of basic types, this is replaced by String.equal or Int.equal.
In case of `= []`, this is replaced by `List.is_empty`.
In case of `= None`, this is replaced by `is_none`.
In case of a datatype definition such as `type a = A | B`,
a `compare_a` function is defined by adding `type a = A | B [@deriving compare]`
and a `equal_a` function is defined as `let equal_a = [%compare.equal : a]`.
In case of comparison with a polymorphic variant `= `Yes`, the equality
defined in `PVariant.(=)` is used. Typically, `open! Pvariant` is added
at the beginning of the file to cover all the uses.
Reviewed By: jberdine
Differential Revision: D4456129
fbshipit-source-id: f31c433
8 years ago
Cristiano Calcagno
af83d1eefe
[clang] Minor clang frontend cleanup: remove dead code and renaming
...
Summary: Removed unused files and renamed for consistency.
Reviewed By: jvillard
Differential Revision: D4397546
fbshipit-source-id: 85eb86d
8 years ago