clang API Documentation

Namespaces | Defines | Functions | Variables
BreakableToken.cpp File Reference

Contains implementation of BreakableToken class and classes derived from it. More...

#include "BreakableToken.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Format/Format.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include <algorithm>
Include dependency graph for BreakableToken.cpp:

Go to the source code of this file.

Namespaces

namespace  clang
namespace  clang::format

Defines

#define DEBUG_TYPE   "format-token-breaker"

Functions

static bool clang::format::IsBlank (char C)
static BreakableToken::Split clang::format::getCommentSplit (StringRef Text, unsigned ContentStartColumn, unsigned ColumnLimit, unsigned TabWidth, encoding::Encoding Encoding)
static BreakableToken::Split clang::format::getStringSplit (StringRef Text, unsigned UsedColumns, unsigned ColumnLimit, unsigned TabWidth, encoding::Encoding Encoding)
static StringRef clang::format::getLineCommentIndentPrefix (StringRef Comment)

Variables

static const char *const clang::format::Blanks = " \t\v\f\r"

Detailed Description

Contains implementation of BreakableToken class and classes derived from it.

Definition in file BreakableToken.cpp.


Define Documentation

#define DEBUG_TYPE   "format-token-breaker"

Definition at line 23 of file BreakableToken.cpp.