enum FormatStyle::UseTabStyle

Description

Different ways to use tab in formatting.

Declared at: clang/include/clang/Format/Format.h:3824

Enumerators

NameValueComment
UT_Never0Never use tab.
UT_ForIndentation1Use tabs only for indentation.
UT_ForContinuationAndIndentation2Fill all leading whitespace with tabs, and use spaces for alignment that appears within a line (e.g. consecutive assignments and declarations).
UT_AlignWithSpaces3Use tabs for line continuation and indentation, and spaces for alignment.
UT_Always4Use tabs whenever we need to fill whitespace that spans at least from one tab stop to the next one.