From 175261c9ec39c51e48b5f2fa9993765565059f7b Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 14 Aug 2019 11:11:52 +0000 Subject: [PATCH] Improved the doc comment for getCommentsInFile Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66209 llvm-svn: 368827 --- clang/include/clang/AST/RawCommentList.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/AST/RawCommentList.h b/clang/include/clang/AST/RawCommentList.h index 813e1ed..1eea56d 100644 --- a/clang/include/clang/AST/RawCommentList.h +++ b/clang/include/clang/AST/RawCommentList.h @@ -199,7 +199,8 @@ public: void addComment(const RawComment &RC, const CommentOptions &CommentOpts, llvm::BumpPtrAllocator &Allocator); - /// \returns nullptr in case there are no comments in in \p File. + /// \returns A mapping from an offset of the start of the comment to the + /// comment itself, or nullptr in case there are no comments in \p File. const std::map *getCommentsInFile(FileID File) const; bool empty() const; -- 2.7.4