You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: