clang 24.0.0git
FormatStyle::SpacesInLineComment Struct Reference

If true, spaces may be inserted into C style casts. More...

#include "clang/Format/Format.h"

Public Attributes

unsigned Minimum
 The minimum number of spaces at the start of the comment.
unsigned Maximum
 The maximum number of spaces at the start of the comment.

Detailed Description

If true, spaces may be inserted into C style casts.

This option is deprecated. See InCStyleCasts of SpacesInParensOptions.

Version
3.7 Control of spaces within a single line comment.

Definition at line 5647 of file Format.h.

Member Data Documentation

◆ Maximum

unsigned clang::format::FormatStyle::SpacesInLineComment::Maximum

The maximum number of spaces at the start of the comment.

Definition at line 5651 of file Format.h.

Referenced by llvm::yaml::MappingTraits< FormatStyle::SpacesInLineComment >::mapping().

◆ Minimum

unsigned clang::format::FormatStyle::SpacesInLineComment::Minimum

The minimum number of spaces at the start of the comment.

Definition at line 5649 of file Format.h.

Referenced by llvm::yaml::MappingTraits< FormatStyle::SpacesInLineComment >::mapping().


The documentation for this struct was generated from the following file: