Home
last modified time | relevance | path

Searched refs:OrderedComments (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DRawCommentList.cpp292 if (OrderedComments[CommentFile].empty()) { in addComment()
293 OrderedComments[CommentFile][CommentOffset] = in addComment()
298 const RawComment &C1 = *OrderedComments[CommentFile].rbegin()->second; in addComment()
321 *OrderedComments[CommentFile].rbegin()->second = in addComment()
324 OrderedComments[CommentFile][CommentOffset] = in addComment()
331 auto CommentsInFile = OrderedComments.find(File); in getCommentsInFile()
332 if (CommentsInFile == OrderedComments.end()) in getCommentsInFile()
338 bool RawCommentList::empty() const { return OrderedComments.empty(); } in empty()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DRawCommentList.h215 llvm::DenseMap<FileID, std::map<unsigned, RawComment *>> OrderedComments; variable
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp3160 for (const auto &FO : Context->Comments.OrderedComments) { in WriteComments()
H A DASTReader.cpp9187 Context.Comments.OrderedComments[Loc.first].emplace(Loc.second, C); in ReadComments()