Lines Matching refs:WhitespaceManager
1 //===--- WhitespaceManager.cpp - Format C++ code --------------------------===//
11 /// \brief This file implements WhitespaceManager class.
15 #include "WhitespaceManager.h"
22 WhitespaceManager::Change::IsBeforeInFile::operator()(const Change &C1,
29 WhitespaceManager::Change::Change(
41 void WhitespaceManager::replaceWhitespace(const FormatToken &Tok,
50 void WhitespaceManager::addUntouchableToken(const FormatToken &Tok,
59 void WhitespaceManager::replaceWhitespaceInToken(
77 const tooling::Replacements &WhitespaceManager::generateReplacements() {
90 void WhitespaceManager::calculateLineBreakInformation() {
115 void WhitespaceManager::alignTrailingComments() {
176 void WhitespaceManager::alignTrailingComments(unsigned Start, unsigned End,
187 void WhitespaceManager::alignEscapedNewlines() {
208 void WhitespaceManager::alignEscapedNewlines(unsigned Start, unsigned End,
222 void WhitespaceManager::generateChanges() {
239 void WhitespaceManager::storeReplacement(const SourceRange &Range,
251 std::string WhitespaceManager::getNewlineText(unsigned Newlines,
256 std::string WhitespaceManager::getNewlineText(unsigned Newlines,
273 std::string WhitespaceManager::getIndentText(unsigned Spaces) {