]> granicus.if.org Git - clang/commit
Multi-line comment alignment
authorAlexander Kornienko <alexfh@google.com>
Thu, 14 Mar 2013 16:10:54 +0000 (16:10 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 14 Mar 2013 16:10:54 +0000 (16:10 +0000)
commitf753615897c86928517e48e4d106e669d59618c5
treea0dce4f13a55008ecbb6f45c9dabf3b45324e9f6
parentbfa1edd8247b80e951a570ff2486fe5fa9898c41
Multi-line comment alignment

Summary:
Aligns continuation lines of multi-line comments to the base
indentation level +1:
class A {
  /*
   * test
   */
  void f() {}
};

The first revision is work in progress. The implementation is not yet complete.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D541

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