forked from OSchip/llvm-project
Improved the doc comment for getCommentsInFile
Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66209 llvm-svn: 368827
This commit is contained in:
parent
bcc00e1afb
commit
175261c9ec
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue