[PATCH] Fix spacing for function with ref-qualification when using SpacesInCStyleCastParentheses != SpacesInParentheses
Jean-Philippe Dufraigne
j.dufraigne at gmail.com
Mon Feb 23 13:33:57 PST 2015
Update as per review comment
Do not handle constructors anymore since there is no ref-qualification for constructors:
Remove TT_FunctionLParen since it is no longer needed.
Move the handling of '&;' to determineStarAmpUsage as per comment.
Kept restriction to operator overload and function to attach pointer reference to right parenthesis, rewrite without TT_FunctionLParen.
http://reviews.llvm.org/D7813
Files:
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTest.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7813.20539.patch
Type: text/x-patch
Size: 4945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150223/0dec692d/attachment.bin>
More information about the cfe-commits
mailing list