Jules Villard
b50f9f2695
[police] open IStd everywhere
...
Summary: `IStd` shall prevail.
Reviewed By: jberdine
Differential Revision: D5182263
fbshipit-source-id: f579046
8 years ago
Jules Villard
e5e08ce659
fix warning and wrong type in GraphQL.ml
...
Reviewed By: jberdine
Differential Revision: D4867351
fbshipit-source-id: 369d823
8 years ago
Sam Blackshear
eeca7a181a
[build] Remove deleted function from FbThreadSafety mli
...
Reviewed By: jeremydubreil
Differential Revision: D4768952
fbshipit-source-id: 81225a7
8 years ago
Sam Blackshear
6a39585999
[thread-safety] treat non-interface methods with no summary as angelic
...
Reviewed By: jeremydubreil
Differential Revision: D4758609
fbshipit-source-id: fa56bd5
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
Ryan Rhee
91aad00e3c
[GraphQL] Detect deprecated API usage
...
Reviewed By: dulmarod
Differential Revision: D4602990
fbshipit-source-id: 216de00
8 years ago
Sam Blackshear
4f33ecef1e
[thread-safety] treat generated GraphQL constructors as returning ownership
...
Reviewed By: jeremydubreil
Differential Revision: D4552975
fbshipit-source-id: 199b01b
8 years ago
Sam Blackshear
e817d5390d
[oss] add missing is_logging_method
...
Reviewed By: jeremydubreil
Differential Revision: D4348189
fbshipit-source-id: b2dcfea
8 years ago
Josh Berdine
e438314776
Divide Utils into Utils, Pp, and IStd
...
Summary:
Utils contains definitions intended to be in the global namespace for
all of the infer code-base, as well as pretty-printing functions, and
assorted utility functions mostly for dealing with files and processes.
This diff changes the module opened into the global namespace to
IStd (Std conflict with extlib), and moves the pretty-printing
definitions from Utils to Pp.
Reviewed By: jvillard
Differential Revision: D4232457
fbshipit-source-id: 1e070e0
8 years ago
Peter O'Hearn
25a688bdbe
[threadsafety] Consider certain init() methods as constructors
...
Reviewed By: jvillard
Differential Revision: D4046903
fbshipit-source-id: 0183b0c
8 years ago
Jules Villard
438a4b430b
fix github build
...
Reviewed By: jeremydubreil
Differential Revision: D3305035
fbshipit-source-id: c606cc7
9 years ago
Josh Berdine
e1020c8ebe
Remove -open(Utils) compile flag hack
...
Summary:public
Eliminate the use of the -open Utils command line option passed to the compiler in favor of `open! Utils` in each source file. While slightly convenient, this option causes more headaches than it is worth with other tools e.g. merlin.
Reviewed By: jvillard
Differential Revision: D3168193
fb-gh-sync-id: 4285ef6
fbshipit-source-id: 4285ef6
9 years ago
Sam Blackshear
7d10105060
moving tracecalls around so tests will pass on open-source build
...
Reviewed By: cristianoc
Differential Revision: D3043974
fb-gh-sync-id: bb5e6f3
shipit-source-id: bb5e6f3
9 years ago
Sam Blackshear
63f8a3e709
refactoring facebook-specific and open-source taint lists to fix open-source tests
...
Reviewed By: jvillard
Differential Revision: D3041560
fb-gh-sync-id: 549b571
shipit-source-id: 549b571
9 years ago
Josh Berdine
55cb61dbda
Warn of unused open statements
...
Summary: public
Reviewed By: jeremydubreil
Differential Revision: D2938325
fb-gh-sync-id: d12d34b
shipit-source-id: d12d34b
9 years ago
Josh Berdine
b155168083
Open Utils implicitly
...
Summary: public
Reviewed By: jvillard
Differential Revision: D2938316
fb-gh-sync-id: c6aa6c9
shipit-source-id: c6aa6c9
9 years ago
Jules Villard
2565bb1438
fix open-source taint models
...
Reviewed By: jeremydubreil
Differential Revision: D2748429
fb-gh-sync-id: 0cbf4b0
9 years ago
Sam Blackshear
dcdebbd811
creating a framework for adding src/sink models based on method names/signatures alone
...
Reviewed By: jeremydubreil
Differential Revision: D2692136
fb-gh-sync-id: 12de038
9 years ago
Jules Villard
6911a1516c
[whitespace] ocp-indent the code
...
Summary:
This commit is the result of
`find infer/src -name '*.ml' -or -name '*.mli' -exec ocp-indent -i \{\} \;`
and
`INFER_CHECK_COPYRIGHT=1 InferPrint`
10 years ago
Cristiano Calcagno
3e199467f4
Complete copyright messages.
10 years ago
Cristiano Calcagno
5de68e795c
Remove unused -analyzer_mode
10 years ago
Open Source Synchronization
b8982270f2
initial synchronization
10 years ago