[PATCH] D116283: [clang-format] Add an option to add a space between operator overloading and opening parentheses

Rajat Bajpai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 2 04:31:18 PST 2022


rajatbajpai updated this revision to Diff 396922.
rajatbajpai added a comment.

Incorporated review comments.

1. Added Check Parse test case for //SpaceBeforeParensOptions//.
2. Renamed the option to //AfterOverloadedOperator//.
3. Added operator overloading instantiation scenario in the unit test as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116283/new/

https://reviews.llvm.org/D116283

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116283.396922.patch
Type: text/x-patch
Size: 6019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220102/555a5cb1/attachment-0001.bin>


More information about the cfe-commits mailing list