Miscellaneous-NoFunctionPrototypeInImpl

Do not declare function prototypes in implementation files

Required inputs: IR

Declarations should be placed in header files, not in implementation files.

Possible Messages

Key

Text

Severity

Disabled

function_prototype_in_implementation

Function prototype in implementation file.

None

False

Options

accept_method_declarations

accept_method_declarations : bool = False

Whether prototypes of methods inside their class should be allowed, e.g. when the Pimpl-idiom is used.
 

accept_static_functions

accept_static_functions : bool = False

Whether prototypes of static functions should be allowed.