Skip to content

Setup Clang Tidy in VSCode

Ajay Ramachandran edited this page Jun 12, 2021 · 1 revision
  1. Install clang-tidy in your environment (sudo apt update && sudo apt install clang-tidy)
  2. Install the Clang-Tidy extension
  3. Add the following lines to .vscode/settings.json
"clang-tidy.checks": [
    "clang-diagnostic-*",
    "clang-analyzer-*",
    "-*",
    "bugprone*",
    "modernize*",
    "performance*",
    "-modernize-use-trailing-return-type"
],
"clang-tidy.buildPath": "./build"
Clone this wiki locally