Skip to content
Commit 7bedfda4 authored by Dmitri Gribenko's avatar Dmitri Gribenko
Browse files

RawCommentList::addComment: fix the assertion so it actually checks that new...

RawCommentList::addComment: fix the assertion so it actually checks that new comment is after the last one (change Comments[0] to Comments.back()), and handle the case of two consecutive comments, e.g. /** *//* */.  There is already a testcase for that (but it didn't trigger the assert because the assert itself was wrong).

llvm-svn: 158882
parent 58713de5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment