old_contents: from coalib.bearlib.abstractions.Linter import linter
  from coalib.bears.requirements.PipRequirement import PipRequirement
  
  
  @linter(executable='cppclean',
          output_format='regex',
          output_regex=r'.+:(?P<line>\d+):(?P<message>.*)')
  class CPPCleanBear:
      """
      Find problems in C++ source code that slow down development in large code
      bases. This includes finding unused code, among other features.
  
      Read more about available routines at
      <https://github.com/myint/cppclean#features>.
      """
  
      LANGUAGES = {"C++"}
      REQUIREMENTS = {PipRequirement('cppclean', '0.9.*')}
      AUTHORS = {'The coala developers'}
      AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
      LICENSE = 'AGPL-3.0'
  
      @staticmethod
      def create_arguments(filename, file, config_file):
          return filename,
  
new_contents: from coalib.bearlib.abstractions.Linter import linter
  from coalib.bears.requirements.PipRequirement import PipRequirement
  
  
  @linter(executable='cppclean',
          output_format='regex',
          output_regex=r'.+:(?P<line>\d+):(?P<message>.*)')
  class CPPCleanBear:
      """
      Find problems in C++ source code that slow down development in large code
      bases. This includes finding unused code, among other features.
  
      Read more about available routines at
      <https://github.com/myint/cppclean#features>.
      """
  
      LANGUAGES = {"C++"}
      REQUIREMENTS = {PipRequirement('cppclean', '0.9.*')}
      AUTHORS = {'The coala developers'}
      AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
      LICENSE = 'AGPL-3.0'
      CAN_DETECT = {'Smell', 'Unused Code', 'Security'}
  
      @staticmethod
      def create_arguments(filename, file, config_file):
          return filename,
  
subject: Add CAN_DETECT info