Merge pull request #488 from wilzbach/phobos-selective
[Phobos] Apply selective filtering for has_public_example as well merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
This commit is contained in:
commit
071cd08a6d
|
@ -477,7 +477,7 @@ MessageSet analyze(string fileName, const Module m, const StaticAnalysisConfig a
|
|||
checks ~= new RedundantAttributesCheck(fileName, moduleScope,
|
||||
analysisConfig.redundant_attributes_check == Check.skipTests && !ut);
|
||||
|
||||
if (analysisConfig.has_public_example!= Check.disabled)
|
||||
if (moduleName.shouldRun!"has_public_example"(analysisConfig))
|
||||
checks ~= new HasPublicExampleCheck(fileName, moduleScope,
|
||||
analysisConfig.has_public_example == Check.skipTests && !ut);
|
||||
|
||||
|
|
Loading…
Reference in New Issue