clangd config

Create the file .clangd with these contents.

  
CompileFlags:
  CompilationDatabase: build/Release       # Search build/ directory for compile_commands.json
  

edit this page