[PATCH] D66209: Improved the doc comment for getCommentsInFile
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 14 03:55:01 PDT 2019
gribozavr created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
gribozavr added a reviewer: hokein.
hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.
rG LLVM Github Monorepo
@@ -199,7 +199,8 @@
void addComment(const RawComment &RC, const CommentOptions &CommentOpts,
- /// \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 in \p File.
const std::map<unsigned, RawComment *> *getCommentsInFile(FileID File) const;
bool empty() const;
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 689 bytes
Desc: not available
More information about the cfe-commits