clang API Documentation

Namespaces | Defines | Functions
ContinuationIndenter.cpp File Reference

This file implements the continuation indenter. More...

#include "BreakableToken.h"
#include "ContinuationIndenter.h"
#include "WhitespaceManager.h"
#include "clang/Basic/OperatorPrecedence.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Format/Format.h"
#include "llvm/Support/Debug.h"
#include <string>
Include dependency graph for ContinuationIndenter.cpp:

Go to the source code of this file.

Namespaces

namespace  clang
namespace  clang::format

Defines

#define DEBUG_TYPE   "format-formatter"

Functions

static unsigned clang::format::getLengthToMatchingParen (const FormatToken &Tok)
static bool clang::format::startsSegmentOfBuilderTypeCall (const FormatToken &Tok)
static bool clang::format::startsNextParameter (const FormatToken &Current, const FormatStyle &Style)
static void clang::format::consumeRParens (LineState &State, const FormatToken &Tok)
static bool clang::format::fakeRParenSpecialCase (const LineState &State)
static bool clang::format::getRawStringLiteralPrefixPostfix (StringRef Text, StringRef &Prefix, StringRef &Postfix)

Detailed Description

This file implements the continuation indenter.

Definition in file ContinuationIndenter.cpp.


Define Documentation

#define DEBUG_TYPE   "format-formatter"

Definition at line 24 of file ContinuationIndenter.cpp.