clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::format::RawStringFormatStyleManager Struct Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/ContinuationIndenter.h"

Public Member Functions

 RawStringFormatStyleManager (const FormatStyle &CodeStyle)
 
std::optional< FormatStylegetDelimiterStyle (StringRef Delimiter) const
 
std::optional< FormatStylegetEnclosingFunctionStyle (StringRef EnclosingFunction) const
 

Public Attributes

llvm::StringMap< FormatStyleDelimiterStyle
 
llvm::StringMap< FormatStyleEnclosingFunctionStyle
 

Detailed Description

Definition at line 34 of file ContinuationIndenter.h.

Constructor & Destructor Documentation

◆ RawStringFormatStyleManager()

clang::format::RawStringFormatStyleManager::RawStringFormatStyleManager ( const FormatStyle CodeStyle)

Member Function Documentation

◆ getDelimiterStyle()

std::optional< FormatStyle > clang::format::RawStringFormatStyleManager::getDelimiterStyle ( StringRef  Delimiter) const

Definition at line 245 of file ContinuationIndenter.cpp.

References DelimiterStyle.

◆ getEnclosingFunctionStyle()

std::optional< FormatStyle > clang::format::RawStringFormatStyleManager::getEnclosingFunctionStyle ( StringRef  EnclosingFunction) const

Definition at line 253 of file ContinuationIndenter.cpp.

References EnclosingFunctionStyle.

Member Data Documentation

◆ DelimiterStyle

llvm::StringMap<FormatStyle> clang::format::RawStringFormatStyleManager::DelimiterStyle

Definition at line 35 of file ContinuationIndenter.h.

Referenced by getDelimiterStyle(), and RawStringFormatStyleManager().

◆ EnclosingFunctionStyle

llvm::StringMap<FormatStyle> clang::format::RawStringFormatStyleManager::EnclosingFunctionStyle

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