]> granicus.if.org Git - clang/commitdiff
Improved the doc comment for getCommentsInFile
authorDmitri Gribenko <gribozavr@gmail.com>
Wed, 14 Aug 2019 11:11:52 +0000 (11:11 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Wed, 14 Aug 2019 11:11:52 +0000 (11:11 +0000)
Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66209

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368827 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/RawCommentList.h

index 813e1ed7dd782bac2df005e13f3c3b15a16f1db6..1eea56dee6223e3726c57ce338f07ae3a8b4625b 100644 (file)
@@ -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<unsigned, RawComment *> *getCommentsInFile(FileID File) const;
 
   bool empty() const;