clang: lib/Format/BreakableToken.cpp File Reference (original) (raw)
Contains implementation of BreakableToken class and classes derived from it. More...
#include "[BreakableToken.h](BreakableToken%5F8h%5Fsource.html)"
#include "[ContinuationIndenter.h](ContinuationIndenter%5F8h%5Fsource.html)"
#include "[clang/Basic/CharInfo.h](CharInfo%5F8h%5Fsource.html)"
#include "[clang/Format/Format.h](Format%5F8h%5Fsource.html)"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include <algorithm>
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 |
Functions | |
---|---|
static bool | clang::format::IsBlank (char C) |
static StringRef | clang::format::getLineCommentIndentPrefix (StringRef Comment, const FormatStyle &Style) |
static BreakableToken::Split | clang::format::getCommentSplit (StringRef Text, unsigned ContentStartColumn, unsigned ColumnLimit, unsigned TabWidth, encoding::Encoding Encoding, const FormatStyle &Style, bool DecorationEndsWithStar=false) |
static BreakableToken::Split | clang::format::getStringSplit (StringRef Text, unsigned UsedColumns, unsigned ColumnLimit, unsigned TabWidth, encoding::Encoding Encoding) |
bool | clang::format::switchesFormatting (const FormatToken &Token) |
Checks if Token switches formatting, like /* clang-format off */. | |
static bool | clang::format::mayReflowContent (StringRef Content) |
Contains implementation of BreakableToken class and classes derived from it.
Definition in file BreakableToken.cpp.
◆ DEBUG_TYPE
#define DEBUG_TYPE "format-token-breaker"