[PATCH] D21279: Fix some issues in clang-format's AlignConsecutive modes

Beren Minor via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 14 23:45:50 PDT 2016


berenm added a comment.

It looks like it doesn't like the `operator[]` either:

  struct test {
    long long int foo();
    int operator[](int a);
    double bar();
  
    long long int foo();
    int operator()(int a);
    double bar();
  };

becomes:

  struct test {
    long long int foo();
    int operator[](int a);
    double bar();
  
    long long int foo();
    int           operator()(int a);
    double        bar();
  };


http://reviews.llvm.org/D21279





More information about the cfe-commits mailing list