[clang] remove code duplication

Nathan Sidwell nathan at acm.org
Fri Jan 23 12:01:12 PST 2015


Richard,
in looking at 18432, I came across some duplicated code in 
Parser::HandleMemberFunctionDeclDelays.  This patch[*] rearranges things to 
avoid such a duplication.  Basically do an early check of the parameters to see 
if there are any default args.

tested on x86_64-linux-gnu, ok?

nathan

[*] no tabs, now I've configured xemacs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 18432-a.patch
Type: text/x-patch
Size: 3399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150123/e7a1f3ee/attachment.bin>


More information about the cfe-commits mailing list