162 Commits (051473394b26fc39c08c90bf10f0a529e7a8b878)

Author SHA1 Message Date
Ryan Rhee b557b49921 [componentkit] Initializer rule should return multiple issues
9 years ago
Ryan Rhee 4e37677eeb [clang] Prep rules to potentially emit multiple issues
9 years ago
Dulma Churchill 9f153dbafa [linters] Add linter for checking api compatibility
9 years ago
Martino Luca d044809b32 [CTL] Filter linters through a visibility flag
9 years ago
Martino Luca ebb6931358 [CTL] Let issue name be a string for linters
9 years ago
Dino Distefano 4682393cd6 Use place-holders string in messages
9 years ago
Dino Distefano aa231e5129 [CTL] Expanding formula id with their definition
9 years ago
Josh Berdine e438314776 Divide Utils into Utils, Pp, and IStd
9 years ago
Ryan Rhee 28b741e62c [componentkit] Compute Cyclomatic Complexity
9 years ago
Ryan Rhee ccb51912e1 [componentkit] Compute line count for main file
9 years ago
Dino Distefano 0ed033a32e Removing the dispatcher for linters.
9 years ago
Dino Distefano 6ffaded4be Modified the hardcoded CTL formulas in preparation to dispatcher removal
9 years ago
Jules Villard caf9537305 [refactoring] add make_trace_element to Errlog
9 years ago
Ryan Rhee 5580be8dcc [componentkit] Initializer With Side-Effect Analyzer
9 years ago
Ryan Rhee c2a8dae26f [componentkit] Multiple factory methods
9 years ago
Ryan Rhee e73350598a [componentkit] Unconventional superclass rule
9 years ago
Jules Villard d9f83094b5 [clang] do not depend on Config.clang_lang and Config.source_file
9 years ago
Ryan Rhee 272c21ff70 [componentkit] Factory functions analyzer
9 years ago
Martino Luca cab20f4a6e [Infer][iOS][Linters][CTL] Rewrite BAD_POINTER_COMPARISON rule into Computation Tree Logics formula
9 years ago
Dino Distefano 05bb4a0db7 Defining an AST specification language based on CTL for front-end checkers
9 years ago
Dulma Churchill 561f4fdfad [linters] Adding a new type of procname that is used for lint bugs that are not in any method
9 years ago
Dulma Churchill a2ee69975a [clang] Remove support for logging lint issues in procdescs
9 years ago
Dulma Churchill f99d3a7c8e Add an option clang-frontend-action to drive the frontend into capture or linters when the -a capture option is used
9 years ago
Sam Blackshear 15b6a8cdd7 killing a bunch of options by using optional argument types correctly
9 years ago
Martino Luca 80c82c0cae Adapt Infer to the new changes introduced by the upgrade to Clang 4.0
9 years ago
Martino Luca 7de52e7649 Check early whether the given decl has to be checked with linters or not
9 years ago
Dulma Churchill 07bf714d91 Put current method in context
9 years ago
Dulma Churchill b7ec110ea3 Adding new mode linters
9 years ago
Dulma Churchill 3d39fba622 Refactor InferPrint and store the lint issues in a serialized data structure that InferPrint picks up and prints.
9 years ago
Ryan Rhee da771ac5aa Mutable local vars
9 years ago
Ryan Rhee 6e6a7a8e5a Add is_ck_translation_unit to context
9 years ago
Josh Berdine 6555a84409 Make warning 23 (Useless record with clause) fatal
9 years ago
Martino Luca e3132152cb Check for the presence of removeObserver into class hierarchy
9 years ago
Martino Luca bed9b31c62 Add general context to linters framework to implement smarter checks
9 years ago
Dulma Churchill 8d279748fa Adding a key to the lint issues
9 years ago
Martino Luca da2717ff2a Migrate BAD_POINTER_COMPARISON check from backend to linters infra
9 years ago
Dulma Churchill fa8ae3e5e9 In the new framework where we go through every declaration we don't need a special case for properties anymore
9 years ago
Dulma Churchill 62da495510 Start transitioning logging of frontend bugs into a map of errlogs rather than in procdescs
9 years ago
Dulma Churchill 1617d470f1 Creating a specific type for frontend issues
9 years ago
Dulma Churchill 694ded4795 Make the description of issues specify the error kind
9 years ago
Dulma Churchill 0253608fab Separate the flow of the frontend checks form the translation
9 years ago
Dulma Churchill bcb1422a9a Implement direct atomic var check with the new ivar to property map
9 years ago
Dulma Churchill 6ac4db7113 Change the check CXX_REFERENCE_CAPTURED_IN_OBJC_BLOCK to use only the clang ast
9 years ago
Dulma Churchill 6d8d9f56c2 Reducing the scope of all frontend checks on declarations
9 years ago
Dino Distefano 83c1bbc832 Implementing a checker to warn initialization of global variables with mehod calls.
9 years ago
Dulma Rodriguez d366bb970b Create the procdescs for frontend checks only when needed
9 years ago
Josh Berdine e1020c8ebe Remove -open(Utils) compile flag hack
9 years ago
Dulma Rodriguez 44491679cf Fix broken tests in master
9 years ago
Sam Blackshear e9cb9f4352 assign pointer type checker
9 years ago
Dino Distefano fc5d4897a5 Registered Observer check done by front-end
9 years ago
Dulma Rodriguez ff3455452a Add trace to frontend checks
9 years ago
Dino Distefano be8f25c90b Improved/simplified framework for frontend checkers.
10 years ago
Josh Berdine b155168083 Open Utils implicitly
10 years ago
Cristiano Calcagno 2a926d8294 Remove uses of assert false to get original ml location.
10 years ago
Dulma Rodriguez c88ac54613 Improving the line number information in the string delegate warning check
10 years ago
Dino Distefano d4d5c3bb2f Implemented new check CXX_REFERENCE_CAPTURED_IN_OBJC_BLOCK
10 years ago
Dulma Rodriguez 432dd28731 Improving the line number information in the string delegate warning check
10 years ago
Dulma Rodriguez fcd040ff8a Don't use the property of maps for finding properties in the frontend checkers
10 years ago
Dulma Rodriguez 37fdeb84bc Moving the property frontend checkers to a dummy procdesc
10 years ago
Dino Distefano 99c491e8c7 Introducing the DIRECT_ATOMIC_PROPERTY_ACCESS
10 years ago
Dino Distefano 0f5aa343e7 Fixed line number in the reporting of strong delegate warning
10 years ago
Dino Distefano ae49cacee8 Framework to emit warning from frontend
10 years ago