aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-06-21 00:28:14 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-06-21 00:28:14 +0000
commitbd1be2c90c6bbc83fe420da51733469a4904831b (patch)
treecc5f48e7f389360f3a9da18fc27224ef7879c394 /lib/Frontend/CreateInvocationFromCommandLine.cpp
parent52a04812e5767dab68efb33ad044760b5b168941 (diff)
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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions