Home
last modified time | relevance | path

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

/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h77 return IsTrailingComment; in isTrailingComment()
191 unsigned IsTrailingComment : 1;
196 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment, in RawComment() argument
199 IsAttached(false), IsTrailingComment(IsTrailingComment), in RawComment()
/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp111 IsAttached(false), IsTrailingComment(false), in RawComment()
133 IsTrailingComment |= in RawComment()
140 IsTrailingComment |= K.second; in RawComment()
146 IsTrailingComment = in RawComment()
147 IsTrailingComment || mergedCommentIsTrailingComment(RawText); in RawComment()
/llvm-project/clang/lib/Format/
H A DWhitespaceManager.cpp48 IsInsideToken(IsInsideToken), IsTrailingComment(false), TokenLength(0), in Change()
192 P.IsTrailingComment = in calculateLineBreakInformation()
231 Changes.back().IsTrailingComment = Changes.back().Tok->is(tok::comment); in calculateLineBreakInformation()
235 // Reset the IsTrailingComment flag for changes inside of trailing comments in calculateLineBreakInformation()
239 Change.IsTrailingComment = false; in calculateLineBreakInformation()
1082 !(&C + 1)->IsTrailingComment) || in alignChainedConditionals()
1106 if (!C.IsTrailingComment) in alignTrailingComments()
1210 !Changes[I - 1].IsTrailingComment) || in alignTrailingComments()
1233 if (Changes[i].IsTrailingComment) in alignTrailingComments()
H A DWhitespaceManager.h143 // \c IsTrailingComment, \c TokenLength, \c PreviousEndOfTokenColumn and
146 bool IsTrailingComment; member
210 /// Calculate \c IsTrailingComment, \c TokenLength for the last tokens
/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp10122 bool IsTrailingComment = Record[Idx++]; in diagnoseOdrViolations()
10125 SR, Kind, IsTrailingComment, IsAlmostTrailingComment)); in diagnoseOdrViolations()
9583 bool IsTrailingComment = Record[Idx++]; ReadComments() local