From f5ee50e7b5a9cae590b3c6b0c756019555d2e7db Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Wed, 9 Aug 2017 01:05:21 -0700 Subject: [PATCH] [graphql] kill unused files Reviewed By: dulmarod Differential Revision: D5583094 fbshipit-source-id: 63da86a --- infer/src/clang/cFrontend_errors.ml | 3 +-- infer/src/opensource/GraphQL.ml | 14 -------------- infer/src/opensource/GraphQL.mli | 14 -------------- 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 infer/src/opensource/GraphQL.ml delete mode 100644 infer/src/opensource/GraphQL.mli diff --git a/infer/src/clang/cFrontend_errors.ml b/infer/src/clang/cFrontend_errors.ml index 1bf1b447f..859229f36 100644 --- a/infer/src/clang/cFrontend_errors.ml +++ b/infer/src/clang/cFrontend_errors.ml @@ -85,8 +85,7 @@ let decl_checkers_list = (* List of checkers on stmts *that return 0 or 1 issue* *) let stmt_single_checkers_list = [ ComponentKit.component_file_cyclomatic_complexity_info - ; ComponentKit.component_initializer_with_side_effects_advice - ; GraphQL.DeprecatedAPIUsage.checker ] + ; ComponentKit.component_initializer_with_side_effects_advice ] let stmt_checkers_list = List.map ~f:single_to_multi stmt_single_checkers_list diff --git a/infer/src/opensource/GraphQL.ml b/infer/src/opensource/GraphQL.ml deleted file mode 100644 index 9438c6ada..000000000 --- a/infer/src/opensource/GraphQL.ml +++ /dev/null @@ -1,14 +0,0 @@ -(* - * Copyright (c) 2016 - present Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - *) - -open! IStd - -module DeprecatedAPIUsage = struct - let checker _ _ = None -end diff --git a/infer/src/opensource/GraphQL.mli b/infer/src/opensource/GraphQL.mli deleted file mode 100644 index 79ce0cd92..000000000 --- a/infer/src/opensource/GraphQL.mli +++ /dev/null @@ -1,14 +0,0 @@ -(* - * Copyright (c) 2016 - present Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - *) - -open! IStd - -module DeprecatedAPIUsage : sig - val checker : CLintersContext.context -> Ctl_parser_types.ast_node -> CIssue.issue_desc option -end