]> granicus.if.org Git - clang/commit
RawCommentList: don't copy the whole new RawComment to LastComment each time.
authorDmitri Gribenko <gribozavr@gmail.com>
Sun, 9 Sep 2012 20:47:31 +0000 (20:47 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Sun, 9 Sep 2012 20:47:31 +0000 (20:47 +0000)
commit4a66557c297e1e5a71a3da4ceca1969800e7de70
tree7f053e525ca2a766895a432dff3031624960542b
parentce15cce38c34ae73348457da73c52df81cde3588
RawCommentList: don't copy the whole new RawComment to LastComment each time.
We just need a single SourceLocation for previous comment end.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163482 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/RawCommentList.h
lib/AST/RawCommentList.cpp