diff options
Diffstat (limited to 'include/clang/AST/RawCommentList.h')
-rw-r--r-- | include/clang/AST/RawCommentList.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/AST/RawCommentList.h b/include/clang/AST/RawCommentList.h index a4fcc108eb5d..8ba85c43f657 100644 --- a/include/clang/AST/RawCommentList.h +++ b/include/clang/AST/RawCommentList.h @@ -193,9 +193,7 @@ private: SourceManager &SourceMgr; std::vector<RawComment *> Comments; - void addCommentsToFront(const std::vector<RawComment *> &C) { - Comments.insert(Comments.begin(), C.begin(), C.end()); - } + void addDeserializedComments(ArrayRef<RawComment *> DeserializedComments); friend class ASTReader; }; |