Skip to content

Commit

Permalink
Utilities/StaticAnalysers: remove unused getParamDumper checker which…
Browse files Browse the repository at this point in the history
… is broken by a change to evalCall parameters.
  • Loading branch information
gartung committed Jan 15, 2020
1 parent 2d3b452 commit bbfe319
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 327 deletions.
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/run_class_dumper.sh
Expand Up @@ -14,7 +14,7 @@ cd ${LOCALRT}/src/Utilities/StaticAnalyzers
scram b -j $J
cd ${LOCALRT}/
export USER_CXXFLAGS="-DEDM_ML_DEBUG -w"
export USER_LLVM_CHECKERS="-enable-checker cms.FunctionDumper -enable-checker optional.ClassDumper -enable-checker optional.ClassDumperCT -enable-checker optional.ClassDumperFT -enable-checker optional.EDMPluginDumper -enable-checker optional.getParamDumper"
export USER_LLVM_CHECKERS="-enable-checker cms.FunctionDumper -enable-checker optional.ClassDumper -enable-checker optional.ClassDumperCT -enable-checker optional.ClassDumperFT -enable-checker optional.EDMPluginDumper"
scram b -k -j $J checker SCRAM_IGNORE_PACKAGES=Fireworks/% SCRAM_IGNORE_SUBDIRS=test > $LOCALRT/tmp/class+function-dumper.log 2>&1
find ${LOCALRT}/src/ -name classes\*.h.cc | xargs rm -fv
cd ${LOCALRT}/tmp
Expand Down
Expand Up @@ -22,7 +22,6 @@
#include "FunctionDumper.h"
#include "EDMPluginDumper.h"
#include "ThrUnsafeFCallChecker.h"
#include "getParamDumper.h"

#include <clang/StaticAnalyzer/Frontend/CheckerRegistry.h>

Expand Down Expand Up @@ -86,10 +85,6 @@ extern "C" void clang_registerCheckers(clang::ento::CheckerRegistry &registry) {
"optional.EDMPluginDumper", "Dumps macro DEFINE_EDM_PLUGIN types", "no docs");
registry.addChecker<clangcms::ThrUnsafeFCallChecker>(
"cms.ThrUnsafeFCallChecker", "Reports calls of known thread unsafe functions", "no docs");
registry.addChecker<clangcms::getParamDumper>(
"optional.getParamDumper",
"Dumps out calls to edm::ParamaterSet:: getParameter and getUntrackedParameter",
"no docs");
}

extern "C" const char clang_analyzerAPIVersionString[] = CLANG_ANALYZER_API_VERSION_STRING;
297 changes: 0 additions & 297 deletions Utilities/StaticAnalyzers/src/getParamDumper.cpp

This file was deleted.

24 changes: 0 additions & 24 deletions Utilities/StaticAnalyzers/src/getParamDumper.h

This file was deleted.

0 comments on commit bbfe319

Please sign in to comment.