PVS-Studio creates temporary files in the project folder

118 views Asked by At

After each run, PVS-Studio creates a .cpp.PVS-Studio.cfg-file for each checked cpp file right in the project folder.

And it doesn't delete them after check is done. It's kinda annoying to delete them by hand or by git checkout. Can PVS-Studio be configured to create these files in some other place?

1

There are 1 answers

3
Sergey Vasiliev On BEST ANSWER

The analyzer creates temporary command files for its operation to launch the analysis unit itself, to perform preprocessing and to manage the whole process of analysis. Such files are created for each project file being analyzed. You can indicate to the analyzer remove them.

PVS-Studio -> Options... -> Common Analyzer Settings -> RemoveIntermediateFiles.

Documentation: Settings: Common Analyzer Settings