]> granicus.if.org Git - clang/commit
Comment parsing: -fparse-all-comments: recognize empty line comments
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 26 Apr 2013 20:12:49 +0000 (20:12 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 26 Apr 2013 20:12:49 +0000 (20:12 +0000)
commit002f9281e010202b87cc120195b67df06ef3e17f
tree06d46ba00c48f8225284312cb7f1d41423580a59
parenta2c3646c35dd09d21b74826240aa916545b1873f
Comment parsing: -fparse-all-comments: recognize empty line comments

In -fparse-all-comments mode empty '//' comments were recognized as
RCK_Invalid, and were not merged with next and previous lines.

Patch by Amin Shali.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180625 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RawCommentList.cpp
test/Index/parse-all-comments.c