[C++ PATCH] some cleanups

Nathan Sidwell nathan@acm.org
Mon Apr 29 15:54:00 GMT 2019


This patch fixes some formatting and code clarity issues I've tripped 
over in the past few months.

duplicate_decls has some function- and var- specific behaviour that was 
confusingly commented, and, for the var case mixed the checking for var 
with checking for the flag to copy.

process_outer_var_ref had some unnecessary line-breaks and block scopes.

explain_implicit_non_constexpr had some unnecessary repetitiveness.

Applying to trunk.

nathan

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s1-1.diff
Type: text/x-patch
Size: 6118 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190429/38509050/attachment.bin>


More information about the Gcc-patches mailing list