Reviewed By: jberdine Differential Revision: D4329617 fbshipit-source-id: c0bcfd4master
parent
6c056f535a
commit
241b4b04fa
@ -0,0 +1,20 @@
|
||||
# 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.
|
||||
|
||||
TESTS_DIR = ../..
|
||||
|
||||
ANALYZER = linters
|
||||
|
||||
CODETOANALYZE_DIR = ../codetoanalyze/componentkit
|
||||
|
||||
CLANG_OPTIONS = -x objective-c++ -std=c++11 -c -fblocks
|
||||
INFER_OPTIONS = --no-filtering --project-root $(CODETOANALYZE_DIR)
|
||||
INFERPRINT_OPTIONS = --issues-tests
|
||||
|
||||
SOURCES = $(CODETOANALYZE_DIR)/TestIgnoreImports.mm
|
||||
|
||||
include $(TESTS_DIR)/clang.make
|
@ -0,0 +1 @@
|
||||
TestIgnoreImports.mm, SomeClass_new, 18, MUTABLE_LOCAL_VARIABLE_IN_COMPONENT_FILE, []
|
@ -1,7 +0,0 @@
|
||||
[
|
||||
{
|
||||
"bug_type": "MUTABLE_LOCAL_VARIABLE_IN_COMPONENT_FILE",
|
||||
"file": "TestIgnoreImports.mm",
|
||||
"procedure": "SomeClass_new"
|
||||
}
|
||||
]
|
Loading…
Reference in new issue