I have used some open-source code and third party libs in my project and want to exclude that code from getting analyzed while analyzing my project using scan-build file. I know we can #ifndef clang_analyzer use this macro to suppress the code from getting analysed, but I dont want to copy paste this in all the files.
OR Is there any way so that the report which get generated after analysis using scan-build command, not to show the warnings/error generated from some set of files?
thanks in advance.