Get optimization remarks from clang directly in your source codeRequirementsA recent version of clangTested with clang 9 and 10. A compilation databaseThe tool needs to know how to compile your code and it does so using a compilation database. You can read about what they are and how to create them here. If you're using cmake, there is a flag in the link telling you how to generate the compile_commands.json Make has no built in way to generate a compilation database but you can generate one using compiledb as follows:
A linux or mac computerCurrently the tool does not support on windows. |