Home
last modified time | relevance | path

Searched refs:MaxColumn (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolLocation.cpp15 constexpr uint32_t SymbolLocation::Position::MaxColumn; member in clang::clangd::SymbolLocation::Position
23 if (Col > MaxColumn) in setColumn()
24 Col = MaxColumn; in setColumn()
25 LineColumnPacked = (LineColumnPacked & ~MaxColumn) | Col; in setColumn()
DSymbolLocation.h37 uint32_t column() const { return LineColumnPacked & MaxColumn; } in column()
41 return line() == MaxLine || column() == MaxColumn; in hasOverflow()
46 static constexpr uint32_t MaxColumn = (1 << ColumnBits) - 1; member
/external/llvm-project/clang/lib/Format/
DWhitespaceManager.cpp368 unsigned MaxColumn = UINT_MAX; in AlignTokens() local
401 MaxColumn = UINT_MAX; in AlignTokens()
460 if (ChangeMinColumn > MaxColumn || ChangeMaxColumn < MinColumn || in AlignTokens()
467 MaxColumn = std::min(MaxColumn, ChangeMaxColumn); in AlignTokens()
484 unsigned &MaxColumn, bool &FoundMatchOnLine, in AlignMacroSequence() argument
515 MaxColumn = UINT_MAX; in AlignMacroSequence()
554 unsigned MaxColumn = UINT_MAX; in alignConsecutiveMacros() local
570 AlignMacroSequence(StartOfSequence, EndOfSequence, MinColumn, MaxColumn, in alignConsecutiveMacros()
591 MaxColumn = std::min(MaxColumn, ChangeMaxColumn); in alignConsecutiveMacros()
595 AlignMacroSequence(StartOfSequence, EndOfSequence, MinColumn, MaxColumn, in alignConsecutiveMacros()
[all …]
/external/clang/lib/Format/
DWhitespaceManager.cpp202 unsigned MaxColumn = UINT_MAX; in AlignTokens() local
238 MaxColumn = UINT_MAX; in AlignTokens()
294 if (ChangeMinColumn > MaxColumn || ChangeMaxColumn < MinColumn || in AlignTokens()
301 MaxColumn = std::min(MaxColumn, ChangeMaxColumn); in AlignTokens()
344 unsigned MaxColumn = UINT_MAX; in alignTrailingComments() local
394 MaxColumn = ChangeMinColumn; in alignTrailingComments()
397 (ChangeMinColumn > MaxColumn || ChangeMaxColumn < MinColumn) || in alignTrailingComments()
405 MaxColumn = ChangeMaxColumn; in alignTrailingComments()
409 MaxColumn = std::min(MaxColumn, ChangeMaxColumn); in alignTrailingComments()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexTests.cpp58 Pos.setColumn(Position::MaxColumn + 1); // overflow in TEST()
60 EXPECT_EQ(Pos.column(), Position::MaxColumn); in TEST()