diff --git a/Utilities/StaticAnalyzers/src/ClangCmsCheckerPluginRegister.cpp b/Utilities/StaticAnalyzers/src/ClangCmsCheckerPluginRegister.cpp index b1c7fbcd946f6..e87218f0d2cf9 100644 --- a/Utilities/StaticAnalyzers/src/ClangCmsCheckerPluginRegister.cpp +++ b/Utilities/StaticAnalyzers/src/ClangCmsCheckerPluginRegister.cpp @@ -31,46 +31,65 @@ extern "C" void clang_registerCheckers(clang::ento::CheckerRegistry ®istry) { registry.addChecker( "threadsafety.ConstCastAway", - "Checks for casts which remove const qualifier and might result in thread-unsafe code","no docs"); + "Checks for casts which remove const qualifier and might result in thread-unsafe code", + "no docs"); registry.addChecker( - "threadsafety.ConstCast", "Checks for casts which remove const qualifier and might result in thread-unsafe code", "no docs"); + "threadsafety.ConstCast", + "Checks for casts which remove const qualifier and might result in thread-unsafe code", + "no docs"); registry.addChecker( "optional.TruncatingCast", - "Checks for implicit casts where ToType is smaller than FromType which might result in truncation", "no docs"); + "Checks for implicit casts where ToType is smaller than FromType which might result in truncation", + "no docs"); registry.addChecker( - "threadsafety.StaticLocal", "Checks for non-const method local statics which might not be thread-safe", "no docs"); + "threadsafety.StaticLocal", + "Checks for non-const method local statics which might not be thread-safe", + "no docs"); registry.addChecker( - "threadsafety.MutableMember", "Checks for members with the mutable keyword which might not be thread-safe", "no docs"); + "threadsafety.MutableMember", + "Checks for members with the mutable keyword which might not be thread-safe", + "no docs"); registry.addChecker( - "threadsafety.GlobalStatic", "Checks for global non-const statics which might not be thread-safe", "no docs"); - registry.addChecker("optional.ClassChecker", "Checks data classes for thread safety issues", "no docs"); + "threadsafety.GlobalStatic", "Checks for global non-const statics which might not be thread-safe", "no docs"); + registry.addChecker( + "optional.ClassChecker", "Checks data classes for thread safety issues", "no docs"); registry.addChecker("optional.ClassDumperCT", "dumps template edm::Wrapper,edm::RunCache,edm::LuminosityBlockCache, " - "and edm::GlobalCache types which define data classes ", "no docs"); - registry.addChecker("optional.ClassDumperFT", - "dumps macro TYPELOOKUP_DATA_REG types which define data classes", "no docs"); - registry.addChecker("optional.ClassDumperInherit", - "Dumps classes inheriting from data classes", "no docs"); - registry.addChecker("optional.ClassDumper", "Dumps class memmbers and base classes ", "no docs"); + "and edm::GlobalCache types which define data classes ", + "no docs"); + registry.addChecker( + "optional.ClassDumperFT", "dumps macro TYPELOOKUP_DATA_REG types which define data classes", "no docs"); + registry.addChecker( + "optional.ClassDumperInherit", "Dumps classes inheriting from data classes", "no docs"); + registry.addChecker( + "optional.ClassDumper", "Dumps class memmbers and base classes ", "no docs"); registry.addChecker("cms.NonFiniteMath", "Reports usage of isnan and isinf.", "no docs"); - registry.addChecker("cms.CodeRules.UsingNamespace", - "Checks for 'using namespace' or 'using std::' in header files", "no docs"); - registry.addChecker("cms.CodeRules.CatchAll", "Checks for 'catch(...)' in source files", "no docs"); + registry.addChecker( + "cms.CodeRules.UsingNamespace", "Checks for 'using namespace' or 'using std::' in header files", "no docs"); + registry.addChecker( + "cms.CodeRules.CatchAll", "Checks for 'catch(...)' in source files", "no docs"); registry.addChecker( "cms.edmChecker", - "Flags classes inheriting from edm::EDProducer,edm::EDFilter,edm::Analyzer or edm::OutputModule", "no docs"); + "Flags classes inheriting from edm::EDProducer,edm::EDFilter,edm::Analyzer or edm::OutputModule", + "no docs"); registry.addChecker( "optional.getByChecker", - "Checks for calls to edm::getByLabel or edm::getManyByType and reports edm::Handle type passed", "no docs"); - registry.addChecker("optional.ArgSize", "Reports args passed by value with size>4k.", "no docs"); - registry.addChecker("cms.FunctionChecker", - "Reports functions which access non-const statics", "no docs"); - registry.addChecker("cms.FunctionDumper", "Reports function calls and overrides", "no docs"); - registry.addChecker("optional.EDMPluginDumper", "Dumps macro DEFINE_EDM_PLUGIN types", "no docs"); - registry.addChecker("cms.ThrUnsafeFCallChecker", - "Reports calls of known thread unsafe functions", "no docs"); + "Checks for calls to edm::getByLabel or edm::getManyByType and reports edm::Handle type passed", + "no docs"); + registry.addChecker( + "optional.ArgSize", "Reports args passed by value with size>4k.", "no docs"); + registry.addChecker( + "cms.FunctionChecker", "Reports functions which access non-const statics", "no docs"); + registry.addChecker( + "cms.FunctionDumper", "Reports function calls and overrides", "no docs"); + registry.addChecker( + "optional.EDMPluginDumper", "Dumps macro DEFINE_EDM_PLUGIN types", "no docs"); + registry.addChecker( + "cms.ThrUnsafeFCallChecker", "Reports calls of known thread unsafe functions", "no docs"); registry.addChecker( - "optional.getParamDumper", "Dumps out calls to edm::ParamaterSet:: getParameter and getUntrackedParameter", "no docs"); + "optional.getParamDumper", + "Dumps out calls to edm::ParamaterSet:: getParameter and getUntrackedParameter", + "no docs"); } extern "C" const char clang_analyzerAPIVersionString[] = CLANG_ANALYZER_API_VERSION_STRING;