]> granicus.if.org Git - clang/commit
Fix labels with trailing comments and cleanup.
authorDaniel Jasper <djasper@google.com>
Wed, 10 Apr 2013 09:49:49 +0000 (09:49 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 10 Apr 2013 09:49:49 +0000 (09:49 +0000)
commitac3223e45e7d17c65b143439313800eef4fdf71d
tree83f9a57f7d88d5305cf647096b6063780464e66e
parent02be968a08184acd42aaefa6f9a7dc883a4d1937
Fix labels with trailing comments and cleanup.

Before:
class A {
public : // test
};

After:
class A {
public: // test
};

Also remove duplicate methods calculating properties of AnnotatedTokens
and make them members of AnnotatedTokens so that they are in a common
place.

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