clang 19.0.0git
Namespaces | Functions
WhitespaceManager.cpp File Reference

This file implements WhitespaceManager class. More...

#include "WhitespaceManager.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include <algorithm>

Go to the source code of this file.


namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::format


template<typename F >
static void clang::format::AlignTokenSequence (const FormatStyle &Style, unsigned Start, unsigned End, unsigned Column, bool RightJustify, F &&Matches, SmallVector< WhitespaceManager::Change, 16 > &Changes)
template<typename F >
static unsigned clang::format::AlignTokens (const FormatStyle &Style, F &&Matches, SmallVector< WhitespaceManager::Change, 16 > &Changes, unsigned StartAt, const FormatStyle::AlignConsecutiveStyle &ACS={}, bool RightJustify=false)
static void clang::format::AlignMatchingTokenSequence (unsigned &StartOfSequence, unsigned &EndOfSequence, unsigned &MinColumn, std::function< bool(const WhitespaceManager::Change &C)> Matches, SmallVector< WhitespaceManager::Change, 16 > &Changes)

Detailed Description

This file implements WhitespaceManager class.

Definition in file WhitespaceManager.cpp.