-misra_intermodule [V2.01.00 or later] [Professional Edition only] |
This option checks source code in multiple files against the MISRA-C:2012 rules.
This option saves symbol information of multiple files in file and checks source code in these files against the MISRA-C:2012 rules. |
If file does not exist, a new file will be created. If file exists, symbol information will be added to the file.
This option is applied to rules classified as "System" in the analysis scope of MISRA-C:2012. Source code will be checked against the following MISRA-C:2012 rules. |
If this option is specified more than once, the last specification is valid. At this time, a warning will be output. |
This option will be ignored unless the -Xmisra2012 option is specified at the same time. At this time, a warning will be output. |
If any of the source files is modified after file was created, recompilation will update the information of file. |
If any of the source files is deleted from a project or its file name is changed, delete file and recheck source code against the MISRA-C:2012 rules.
If there are many files to be checked and the symbol information to be stored in file is huge, the compilation speed gets slower. |