Question about "translation unit" in RuleWizard
Options
Best Answer
-
If you want to check whether the same function is called in different translation units, then it is not possible to report such a violation directly from the RuleWizard rule.
You can try to use the RuleWizard rule to collect data from each file / TU (the results can be saved in an external file / files), and then use an external script (e.g. Python Code) to compare the data stored in the files.5
Answers
-
Currently it is not possible. RuleWizard rules can work only for single translation unit scope.
0