Miscellaneous-CComments¶
Checks for correctly used comment style in C units
Required inputs: IR
//) are not used in C units.
Rationale
C++-style comments are not valid in C90.This rule allows configuring the type of comment that is considered invalid.
See Also
Rule Miscellaneous-CPPCommentsPossible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
c_comment_style |
Use of invalid comment style in C unit. |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
exception¶
exception : str | None = None
invalid¶
invalid : str = '//'