]> granicus.if.org Git - clang/commit
CommentLexer: When proceeding with a typo corrected name don't clobber the token.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Dec 2013 15:09:32 +0000 (15:09 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Dec 2013 15:09:32 +0000 (15:09 +0000)
commitd94c3ae48f5cc9cceb5a2cdeb39fc4c590a6deba
tree8bb24cc8bc05ef587f769df5bbb6fc3973601253
parent31e0e38d09d46b77dd686ed21db9ef4bc69f63cf
CommentLexer: When proceeding with a typo corrected name don't clobber the token.

This would crash if the token is used in another diagnostic. PR18051.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196048 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/CommentLexer.cpp
test/Sema/warn-documentation-fixits.cpp