-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude some files in the build #133
Comments
Came for this. I have an assembly file (.s) in the root of my repo, which clang-tidy will error on (diagnostic). Thus I have not had any luck using .clang-tidy to disable checks in root, as this unfortunately causes an early exit even though I have checks enabled in a nested clang-tidy file. Interestingly, I use the Microsoft makefile extension in vscode as a config providor to code analysis component of the Microsoft cpp extension and that generates the compile_commands DB, and by default it does not include assembly files. This then lead me to this question, can compiledb filter out assembly compile commands. |
Hi,
I'm using this tool to create a JSON Compilation Database. My static analysis tool doesn't recognize assembly code in .s nor .S extensions. I'm currently removing these manually as they're not many.
Is there a way to exclude certain compilation units using compiledb? If not, this could be an interesting feature to have.
BR,
/Jon
The text was updated successfully, but these errors were encountered: