struct FormatStyle::FormatStyleSet

Declaration

struct FormatStyle::FormatStyleSet { /* full declaration omitted */ };

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

Member Variables

private std::shared_ptr<MapType> Styles

Method Overview

  • public void Add(clang::format::FormatStyle Style)
  • public void Clear()
  • public llvm::Optional<FormatStyle> Get(FormatStyle::LanguageKind Language) const

Methods

void Add(clang::format::FormatStyle Style)

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

Parameters

clang::format::FormatStyle Style

void Clear()

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

llvm::Optional<FormatStyle> Get(
    FormatStyle::LanguageKind Language) const

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

Parameters

FormatStyle::LanguageKind Language