clang: lib/Format/ContinuationIndenter.cpp File Reference (original) (raw)

This file implements the continuation indenter. More...

Go to the source code of this file.

Namespaces
namespace clang
The JSON file list parser is used to communicate input to InstallAPI.
namespace clang::format
Macros
#define DEBUG_TYPE "format-indenter"
Functions
static bool clang::format::shouldIndentWrappedSelectorName (const FormatStyle &Style, LineType LineType)
static bool clang::format::shouldUnindentNextOperator (const FormatToken &Tok)
static unsigned clang::format::getLengthToMatchingParen (const FormatToken &Tok, ArrayRef< ParenState > Stack)
static unsigned clang::format::getLengthToNextOperator (const FormatToken &Tok)
static bool clang::format::startsSegmentOfBuilderTypeCall (const FormatToken &Tok)
static bool clang::format::isAlignableBinaryOperator (const FormatToken &Token)
static bool clang::format::startsNextOperand (const FormatToken &Current)
static bool clang::format::mustBreakBinaryOperation (const FormatToken &Current, const FormatStyle &Style)
static bool clang::format::opensProtoMessageField (const FormatToken &LessTok, const FormatStyle &Style)
static std::optional< StringRef > clang::format::getRawStringDelimiter (StringRef TokenText)
static StringRef clang::format::getCanonicalRawStringDelimiter (const FormatStyle &Style, FormatStyle::LanguageKind Language)
static bool clang::format::hasNestedBlockInlined (const FormatToken *Previous, const FormatToken &Current, const FormatStyle &Style)
static unsigned clang::format::getLastLineEndColumn (StringRef Text, unsigned StartColumn, unsigned TabWidth, encoding::Encoding Encoding)
static StringRef clang::format::getEnclosingFunctionName (const FormatToken &Current)

Detailed Description

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "format-indenter"