CLion 2018.2 Help


File | Settings | Languages and Frameworks | C/C++ | Clangd for Windows and Linux
CLion | Preferences | Languages and Frameworks | C/C++ | Clangd for macOS
Ctrl+Alt+S icons general settings svg

Clangd is used in CLion as an additional C++ language engine. Use this page to enable/disable warnings and errors from clangd, and configure the warnings set.

Show errors and warnings from clangd

Select this checkbox to turn on the clangd warnings and errors.

When enabled, clangd warnings and errors are shown in the editor instead of the CLion's code errors.

Clangd warningsUse this field to specify the list of warnings/errors from clangd that you want to enable. The default set of warnings include:
-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 clangdSelect this checkbox to have clang-tidy working via clangd. Enabling this option should not affect the clang-tidy behavior.
Last modified: 18 July 2018