[PATCH] clang-format recognizes alternative binary operator keywords

Bobby Moretti bobmoretti at gmail.com
Tue May 6 22:06:44 PDT 2014


Yes, I think that would be a problem. However, this particular failing test case doesn't involve the field name; rather it involves the field's type. So I think a closer parallel would be

  message class {
      optional int32 foo = 1;
  }
  
  message bar {
      optional class c = 1;
  }

How would the proto compiler handle that?

http://reviews.llvm.org/D3634






More information about the cfe-commits mailing list