CLion 2026.2 Help

Clangd

In this dialog, you can configure particular settings and check the LLVM Clang revision used by Clangd.

Clangd settings

Item

Description

Show errors and warnings from clangd

Select this checkbox to turn on the Clangd warnings and errors, which will be shown in the editor instead of the CLion's code errors.

Use the field below the checkbox to specify the list of warnings from Clangd that you want to enable. The default set of warnings includes:

-Wno-unused-variable -Wno-shadow -Wshadow-field-in-constructor-modified -Wshadow-ivar -Wno-implicit-function-declaration -Wno-switch -Wno-parentheses -Wbitwise-op-parentheses -Wdangling-else -Wlogical-not-parentheses -Wlogical-op-parentheses -Woverloaded-shift-op-parentheses -Wparentheses-equality -Wshift-op-parentheses

Use clang-tidy via clangd

Select this checkbox to have clang-tidy working via Clangd. Enabling this option also turns on the following CLion inspections:

09 September 2026