clang  6.0.0svn
Namespaces | Macros | Functions
ContinuationIndenter.cpp File Reference

This file implements the continuation indenter. More...

#include "ContinuationIndenter.h"
#include "BreakableToken.h"
#include "FormatInternal.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 dependency graph for ContinuationIndenter.cpp:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::format
 

Macros

#define DEBUG_TYPE   "format-indenter"
 

Functions

static unsigned clang::format::getLengthToMatchingParen (const FormatToken &Tok)
 
static unsigned clang::format::getLengthToNextOperator (const FormatToken &Tok)
 
static bool clang::format::startsSegmentOfBuilderTypeCall (const FormatToken &Tok)
 
static bool clang::format::startsNextParameter (const FormatToken &Current, const FormatStyle &Style)
 
static bool clang::format::opensProtoMessageField (const FormatToken &LessTok, const FormatStyle &Style)
 
static llvm::Optional< StringRef > clang::format::getRawStringDelimiter (StringRef TokenText)
 
static unsigned clang::format::getLastLineEndColumn (StringRef Text, unsigned StartColumn, unsigned TabWidth, encoding::Encoding Encoding)
 

Detailed Description

This file implements the continuation indenter.

Definition in file ContinuationIndenter.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "format-indenter"

Definition at line 24 of file ContinuationIndenter.cpp.