MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / SetAlign

Method SetAlign

CodeFormatCore/src/Format/Analyzer/FormatResolve.cpp:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void FormatResolve::SetAlign(std::size_t alignPos) {
80 _prevSpaceStrategy = PrevSpaceStrategy::AlignPos;
81 _prevSpaceData.Align = alignPos;
82}
83
84std::size_t FormatResolve::GetAlign() const {
85 return _prevSpaceData.Align;

Callers 1

QueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected