'operator new' was not being treated as a function name in
one case, so AlwaysBreakAfterDeclarationReturnType and
AlwaysBreakAfterDefinitionReturnType never triggered. This
bug affected other operators as well.
Depends on D10370.
Paths
| Differential D10860
clang-format: Treat 'operator new' as function name. AbandonedPublic Authored by strager on Jun 30 2015, 10:36 PM.
Details
Diff Detail Event Timelinestrager updated this object. strager added a parent revision: D10370: clang-format: Implement AlwaysBreakAfterDeclarationReturnType..
Revision Contents
Diff 28845 lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTest.cpp
|
This will (incorrectly) turn code like:
into: