Fix bug in the alignment of comments.
authorDaniel Jasper <djasper@google.com>
Wed, 6 Feb 2013 22:04:05 +0000 (22:04 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 6 Feb 2013 22:04:05 +0000 (22:04 +0000)
commitf79f935f387f4a34f0f20a6d6cc1bfb8ebe8fbb4
tree3beefde2ce30b3913bb0ce71dfcb423c0bfb9a7b
parent5b33b3c3be61f7e48462a405f1eb7ad5a8e915aa
Fix bug in the alignment of comments.

Before:
const char *test[] = {
  // A
  "aaaa",
               // B
  "aaaaa",
};

After:
const char *test[] = {
  // A
  "aaaa",
  // B
  "aaaaa",
};

llvm-svn: 174549
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp