Home
last modified time | relevance | path

Searched refs:StartLineIndex (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp175 size_t StartLineIndex = Line->MatchingOpeningBlockLineIndex; in getNamespaceToken() local
176 if (StartLineIndex == UnwrappedLine::kInvalidIndex) in getNamespaceToken()
178 assert(StartLineIndex < AnnotatedLines.size()); in getNamespaceToken()
179 const FormatToken *NamespaceTok = AnnotatedLines[StartLineIndex]->First; in getNamespaceToken()
183 if (StartLineIndex > 0) in getNamespaceToken()
184 NamespaceTok = AnnotatedLines[StartLineIndex - 1]->First; in getNamespaceToken()
224 size_t StartLineIndex = SIZE_MAX; in analyze() local
243 if (StartLineIndex == SIZE_MAX) in analyze()
244 StartLineIndex = EndLine->MatchingOpeningBlockLineIndex; in analyze()
252 StartLineIndex - CompactedNamespacesCount - 1 == in analyze()
[all …]
H A DUnwrappedLineFormatter.cpp149 size_t StartLineIndex = Line->MatchingOpeningBlockLineIndex; in getMatchingNamespaceToken() local
150 if (StartLineIndex == UnwrappedLine::kInvalidIndex) in getMatchingNamespaceToken()
152 assert(StartLineIndex < AnnotatedLines.size()); in getMatchingNamespaceToken()
153 return AnnotatedLines[StartLineIndex]->First->getNamespaceToken(); in getMatchingNamespaceToken()