|
clang 23.0.0git
|
This file implements WhitespaceManager class. More...
#include "WhitespaceManager.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"#include <algorithm>#include <limits>#include <optional>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 void | clang::format::SetChangeSpaces (unsigned Start, unsigned Spaces, MutableArrayRef< WhitespaceManager::Change > Changes) |
| static void | clang::format::IncrementChangeSpaces (unsigned Start, int Delta, MutableArrayRef< WhitespaceManager::Change > Changes) |
| static void | clang::format::AlignTokenSequence (const FormatStyle &Style, unsigned Start, unsigned End, unsigned Column, bool RightJustify, ArrayRef< unsigned > Matches, SmallVector< WhitespaceManager::Change, 16 > &Changes) |
| template<typename F, AlignStrategy Strategy = AlignStrategy::Normal> | |
| static unsigned | clang::format::AlignTokens (const FormatStyle &Style, F &&Matches, SmallVector< WhitespaceManager::Change, 16 > &Changes, unsigned StartAt, const FormatStyle::AlignConsecutiveStyle &ACS={}, bool RightJustify=false) |
This file implements WhitespaceManager class.
Definition in file WhitespaceManager.cpp.