Skip to content

Commit

Permalink
delete duplicate_attribute visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
lucica28 authored and Vladiwostok committed Nov 12, 2023
1 parent 2b7d5ec commit 66e262a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 232 deletions.
227 changes: 0 additions & 227 deletions src/dscanner/analysis/duplicate_attribute.d

This file was deleted.

5 changes: 0 additions & 5 deletions src/dscanner/analysis/run.d
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import dscanner.analysis.constructors;
import dscanner.analysis.unused_variable;
import dscanner.analysis.unused_label;
import dscanner.analysis.unused_parameter;
import dscanner.analysis.duplicate_attribute;
import dscanner.analysis.opequals_without_tohash;
import dscanner.analysis.length_subtraction;
import dscanner.analysis.builtin_property_names;
Expand Down Expand Up @@ -472,10 +471,6 @@ MessageSet analyze(string fileName, const Module m, const StaticAnalysisConfig a
checks ~= new UnmodifiedFinder(fileName, moduleScope,
analysisConfig.could_be_immutable_check == Check.skipTests && !ut);

if (moduleName.shouldRun!DuplicateAttributeCheck(analysisConfig))
checks ~= new DuplicateAttributeCheck(fileName, moduleScope,
analysisConfig.duplicate_attribute == Check.skipTests && !ut);

if (moduleName.shouldRun!FunctionAttributeCheck(analysisConfig))
checks ~= new FunctionAttributeCheck(fileName, moduleScope,
analysisConfig.function_attribute_check == Check.skipTests && !ut);
Expand Down

0 comments on commit 66e262a

Please sign in to comment.