forked from pfqgauxfb/code-analysis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
891 B
891 B
Compiler defines
NOTE: this is preliminary.
This folder contains scripts to extract compiler-specific defines and definitions for use with a Cppcheck scan.
Specifying these will get rid of `` warnings (which are reported when --debug-warnings is specified) which allows for increased coverage of the ValueFlow.
Files
define.shInvokes the compilation and execution of the various programs which output the compiler-specific defines.float.cOutputs the defines provided byfloat.h/cfloat.limits.cOutputs the defines provided bylimits.h/climits.stdint.cOutputs the defines provided bystdint.h/cstdint.create_platform_cfg.shGenerates a platform file from the given compiler which can be given to Cppcheck via--platform.run_cppcheck.shGenerates the compiler-specific configurations for the given compiler and runs Cppcheck with them.