Protected
contextMISRA context for error tracking and rule transformations state
Readonly
ruleIDUnique identifier for the MISRA rule.
Protected
logMISRAErrorLogs a MISRA-C rule violation error
The joinpoint where the violation occurred
Description of the violation
Protected
logMISRAWarningLogs a warning from automatic MISRA-C correction, which may change the program's behavior
The joinpoint where the correction was applied
Description of the warning
Checks if the given joinpoint is a header file whose name includes invalid characters.
Joinpoint to analyze
[logErrors=false] - Whether to log errors if a violation is detected
Returns true if the joinpoint violates the rule, false otherwise
Renames a header file to ensure it contains only valid characters and updates all related includes accordingly.
Joinpoint to transform
Report detailing the transformation result
MISRA Rule 20.2: The ', " or \ characters and the /* or // character sequences shall not occur in a header filename