clang  14.0.0git
Public Types | Public Member Functions | List of all members
clang::format::FormatStyle::FormatStyleSet Struct Reference

#include "clang/Format/Format.h"

Public Types

typedef std::map< FormatStyle::LanguageKind, FormatStyleMapType
 

Public Member Functions

llvm::Optional< FormatStyleGet (FormatStyle::LanguageKind Language) const
 
void Add (FormatStyle Style)
 
void Clear ()
 

Detailed Description

Definition at line 3750 of file Format.h.

Member Typedef Documentation

◆ MapType

Definition at line 3751 of file Format.h.

Member Function Documentation

◆ Add()

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

Definition at line 1669 of file Format.cpp.

◆ Clear()

void clang::format::FormatStyle::FormatStyleSet::Clear ( )

Definition at line 1680 of file Format.cpp.

◆ Get()

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

Definition at line 1658 of file Format.cpp.

Referenced by clang::format::FormatStyle::GetLanguageStyle().


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