]> granicus.if.org Git - clang/commit
Keep space between pointer and block comment.
authorDaniel Jasper <djasper@google.com>
Mon, 1 Jul 2013 09:34:09 +0000 (09:34 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 1 Jul 2013 09:34:09 +0000 (09:34 +0000)
commit3a1847e0a1810a0b1b963182abc59114cc5ff53d
treecd55fb0744883e90e5b43f9a257cf647d87e5c74
parent02eacc2cf85fe11577bf6ff20f6c203e87147c57
Keep space between pointer and block comment.

Before: void f(int */* unused */) {}
After:  void f(int * /* unused */) {}

The previous version seems to be valid C++ code but confuses many syntax
highlighters.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185320 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTest.cpp