[PATCH] clang-format recognizes alternative binary operator keywords

Bobby Moretti bobmoretti at gmail.com
Wed May 7 16:06:11 PDT 2014


I updated the proto test to not include any c++ reserved keywords, and I changed the LangOpts returned by getFormattingLangOpts to set CXXOperatorNames to 1 unconditionally, as per review feedback

I do not have commit access.

http://reviews.llvm.org/D3634

Files:
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  tools/clang-format/ClangFormat.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/FormatTestProto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3634.9194.patch
Type: text/x-patch
Size: 6549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140507/054bf496/attachment.bin>


More information about the cfe-commits mailing list