CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Naming conventions

Last modified: 11 January 2023

Settings | Editor | Code Style | C/C++, Naming Convention

Scope: IDE-wide (default) or Project-wide

Associated inspection: Inconsistent Naming

Naming convention is a set of rules intended to unify all the symbol names across a piece of code or a project. Each naming rule defines the suffix, prefix, capitalization and compound words spelling for a certain type of identifier.

Note that you can also select the naming convention (along with other code style settings) from a predefined scheme, such as Google or LLVM. See Predefined code styles for details.

CLion will take naming convention settings into account when performing: