915 Commits (ac92e1329209a34ef489e87e0f5d834e5ed3c414)

Author SHA1 Message Date
Jules Villard 71ed554c57 [cli] introduce `--linters` and `--capture`
7 years ago
Dulma Churchill e7907032bf [clang] Remove allocating blocks
7 years ago
Jeremy Dubreil a671307363 [infer][clang] fix test failures caused by unused code compiler warnings
7 years ago
Dulma Churchill 08c4c33e7d [clang] Remove the translation of enumerateWithBlocks that causes FPs dead store.
7 years ago
Josh Berdine c1e742536d [frontend][c++] Translate pointer-to-member expressions
7 years ago
Dulma Churchill 2f8b749045 [objc] Better names for the block translation and using temp variables
7 years ago
Dulma Churchill 01219a0298 [cleanup] Remove the retain count implementation from ObjC that is unused.
7 years ago
Martino Luca 3df1e52928 [Buck][compilation-database] Do not run clang command that cannot be attached to the frontend
7 years ago
Josh Berdine f89e687efa [ocamlformat] Use ocamlformat from github
7 years ago
Dulma Churchill a969b5d188 [cleanup] Remove unused code for finding correct fields in Objective-C
7 years ago
Dulma Churchill e23153c1d9 [clang] Refactor the translation of allocation functions
7 years ago
Dulma Churchill 21c7b7dda3 [linters] Do not lint implicit declarations
8 years ago
Mehdi Bouaziz 3b2e9c78de [clang trans] Simplify translation of if(not expr)
8 years ago
Dulma Churchill 4769c481ad [linters] Add a linter for checking const pointers to Objective-C classes
8 years ago
Dulma Churchill 3924d25a25 [clang] Remove two more cases of assert false cases that happen in the apps
8 years ago
Jules Villard 810d756f79 [clang] split StringLiterals into chunks
8 years ago
Jules Villard 2d644b36af [clang] do not translate dependent types
8 years ago
Dulma Churchill ca23ed5f5f [linters] Do not report MUTABLE_LOCAL_VARIABLE_IN_COMPONENT_FILE when the variable has __block attribute
8 years ago
Dulma Churchill bb3201a8e8 [linters] Do not report MUTABLE_LOCAL_VARIABLE_IN_COMPONENT_FILE for variables of type std:vector
8 years ago
Dulma Churchill e5007cf2e0 [linters] Do not report MUTABLE_LOCAL_VARIABLE_IN_COMPONENT_FILE for the loop indices
8 years ago
Dulma Churchill 85e4707d00 [backend] When adding a new field to the tenv, sort the list of fields
8 years ago
Martino Luca 7bd2cedb1d [fcp] Add ooti_ prefix to objc_object_type_info type
8 years ago
Jules Villard f3d98eb807 [time] do not rely on gettimeofday for measuring time
8 years ago
Jules Villard 1b6c77b624 [clang] mark crash sites as `unimplemented` or `incorrect_assumption`
8 years ago
Jules Villard 22aca7494b [siof] understand that <iostream> initialises streams
8 years ago
Dulma Churchill 67b08f666f [objc] Translate ObjCAvailabilityExpr
8 years ago
Jules Villard 2adf654950 [sql] add proc attributes DB
8 years ago
Martino Luca 03a727143a Remove previous_decl field from ast_expressions.ml
8 years ago
Dulma Churchill 870c636e41 [objc] Adding missing fields to env when executing generated getters and setters.
8 years ago
Dulma Churchill de162c86ab [cleanup] Do not create captured folders when only linting
8 years ago
Dulma Churchill 652af47da7 [linters] Add transition to parameters by position in the parameters list
8 years ago
Dino Distefano d694038abd New test for the tableaux method.
8 years ago
Dulma Churchill 0212aaf81f [stats] Emit the stats only in developer mode
8 years ago
Mehdi Bouaziz bb15aba766 [log] Even better exception reraising
8 years ago
Dulma Churchill 234d3627b6 [clang] Support the new @available expression in ObjC in the unavailable API check
8 years ago
Jules Villard cb8e75be85 [clang] do without unstructured type strings
8 years ago
Jules Villard 72b1ac4b5a Turn off --keep-going by default
8 years ago
Dulma Churchill 5569ee751a [linters] Add transitions Fields and FieldName
8 years ago
Jeremy Dubreil b63f5d7c00 [infer][clang] translate the annotations on fields
8 years ago
Dino Distefano f3b158a158 Fix use of SEL in AL
8 years ago
Jeremy Dubreil 919b9268d4 [infer][clang] simplify the translation of the prune nodes
8 years ago
Daiva Naudziuniene ac33bf6e66 [destructors] Injecting destructor calls of virtual bases inside destructor bodies
8 years ago
Sam Blackshear 7aa199f707 [clang] fix translation of placement new
8 years ago
Jules Villard c6812df1eb fix infinitely-expanding types in the backend
8 years ago
Jules Villard 2fff3b0733 [clang] distinguish genuine internal failures from unimplemented features
8 years ago
Sam Blackshear faf04af1f4 [cleanup] kill some debug code
8 years ago
Daiva Naudziuniene 81c0fe6754 [clangplugin] Updating infer to work with the latest clang plugin version
8 years ago
Dulma Churchill d8765d1d44 [linters] Include only base name of ObjC methods in the linters bug hash
8 years ago
Dulma Churchill b99b653ffa [linters] Fix the computing of the successors of method declarations
8 years ago
Dulma Churchill 5f176f40e3 [linters] Add linters_doc_url flag for custom doc_urls for linters
8 years ago
Daiva Naudziuniene e78dc91f34 [destructors] Destroy fields after continue.
8 years ago
Dino Distefano 8cad1b5e69 Remove ETX operator from AL
8 years ago
Jules Villard c07cd81392 [log] better exception reraising
8 years ago
Daiva Naudziuniene c6c7411e05 [destructors] Destroy fields after break.
8 years ago
Daiva Naudziuniene 822ffc6f62 [frontend] Fix continue inside do while.
8 years ago
Dulma Churchill 7e3298711c [AL] Compute a witness child node when computing formulas to be used for more precise bug hashing
8 years ago
Jules Villard 5b3c2c0901 [clang] fix evaluation order bug discovered by building with OCaml 4.05.0
8 years ago
Martino Luca 740e9973d6 Replace existing calls to `exit` with InferExit exceptions to better control flow of executions
8 years ago
Martino Luca e247492901 [AL] Validate AST node names in AL source files
8 years ago
Sam Blackshear 14fa4aa7d9 [clang][dead stores] translate init-capture expressions
8 years ago
Daiva Naudziuniene 879891a3af [destructors] Injecting destructor calls of base classes
8 years ago
Daiva Naudziuniene 5ee61a4019 [destructors] Refactoring destructor translation.
8 years ago
Sam Blackshear 9772b2299d [clang] translate user-defined literals
8 years ago
Sam Blackshear de9d8f45ff [clang] partial translation of vector instructions
8 years ago
Sam Blackshear b4c0ddcff3 [cleanup] kill `Config.frontend_debug`
8 years ago
Dulma Churchill 47221ab273 [linters] Add support for Cxx structs when querying types
8 years ago
Dulma Churchill ecd79a56d3 [linters] Support transition Parameters also by ObjC method calls
8 years ago
Dulma Churchill 47088e078e [linters] Use the sdk version by path in the error message of unavailable api check
8 years ago
Jules Villard 1c375a17ac [log] die more appropriately
8 years ago
Daiva Naudziuniene 3e660b05ee [destructors] Injecting destructors of fields to destructor bodies.
8 years ago
Dulma Churchill 5ead13a225 Fixing crash that happened when reporting a lint issue in a templated method.
8 years ago
Daiva Naudziuniene 02c2e2b5bf Added a function to test if procdesc is a destructor.
8 years ago
Dulma Churchill 9f19f12a1b [linters] Fix incorrect assert false in Component linters
8 years ago
Roy Li 76bc7d686c Add predicate for enum constants of a particular enum
8 years ago
Martino Luca e8a0599850 [AL] add `--linters-validate-syntax-only` to check whether there are any syntax errors in AL files
8 years ago
Martino Luca 3576f2f7cc [AL] New exception ALFileException with source-location info
8 years ago
Martino Luca 98b1f74071 Refactor AL parser's exception into a separate module
8 years ago
Dulma Churchill 30d2822846 [linters] Restrict the remove observer check to when target ios sdk version is greater or equal than 9.0
8 years ago
Dulma Churchill a3309926b3 [linters] Add transition parameter with label for ObjC method declarations or method calls
8 years ago
Dulma Churchill 673f2b6917 [linters] Add option to specify iphone sdk version by path
8 years ago
Dulma Churchill a6f8850617 [linters] Provide predicate for checking the current method in the context
8 years ago
Dulma Churchill 3da5908728 [linters] Remove unavailable api class false positives and turn it on
8 years ago
Dulma Churchill 336f6f8dff [linters] Support reference types in the linters type parser
8 years ago
Jules Villard 69299ba675 [filtering] improve issue type filtering CLI
8 years ago
Martino Luca 17cc5ec7be Remove unsupported `index-store-path` argument from clang commands
8 years ago
Meng Zhang cdc54563d4 [Infer] Write a has_visibility_attribute predicate for AL
8 years ago
Andrzej Kotulski de6c396800 [docs] Extend src/clang/README.md with info about AST
8 years ago
Jules Villard f5ee50e7b5 [graphql] kill unused files
8 years ago
Andrzej Kotulski 6ca447fa6a [C] Fix issue with enum initialization lists
8 years ago
Andrzej Kotulski 88b74d524d [C++] Rewrite initListExpr_trans
8 years ago
Sam Blackshear 73dba57e45 [cleanup] remove useless append_instrs on empty instruction list
8 years ago
Jia Chen a718ebe8ec [frontend] Additional information for the backend to distinguish between pass-by-val args and pass-by-ref args
8 years ago
Daiva Naudziuniene f12616cea5 [destructors] Add scope management to clang frontend
8 years ago
Dulma Churchill 00c1b354e1 [linters] Improve to_string method for boxed values
8 years ago
Dulma Churchill d0858c7770 [linters] Improve the to_string method for string constants
8 years ago
Josh Berdine b36eaa2618 [clang] Disable -fembed-bitcode
8 years ago
Andrzej Kotulski c2207f5b06 small fixes to infer/src/*/README.md files
8 years ago
Jeremy Dubreil bf11a27158 [infer] merge --failures-allowed and --keep-going
8 years ago
Sam Blackshear cb9c768c61 [clang] translate vars captured by lambda
8 years ago
Dino Distefano a386ef5e83 Adding predicate for identify a selector with a particular name
8 years ago