[PATCH] clang-format recognizes alternative binary operator keywords

Bobby Moretti bobmoretti at gmail.com
Tue May 6 22:36:37 PDT 2014


All right, so probably the proto test should not try to use a C++ reserved keyword for a type name. I will change that, and get rid of the `LanguageKind` parameter.

Getting a little off topic, I'm a little surprised that the same exact lexer is used for all of C, C++, ObjC, and javascript, but I am very naïve about such things. Was it an explicit design decision made previously in clang-format's history?

http://reviews.llvm.org/D3634






More information about the cfe-commits mailing list