[PATCH] Fix for crash due to g++.old-deja/g++.other/using3.C

Richard Smith richard at metafoo.co.uk
Fri Apr 11 14:11:08 PDT 2014


On Tue, Mar 18, 2014 at 2:48 AM, Dinesh Dwivedi <dinesh.d at samsung.com>wrote:

>
>   Submitted bug report [http://llvm.org/bugs/show_bug.cgi?id=19171]
>
>   Should we update typo-correction code, to suggest only base class member
> if using declaration is inside derivied class.
>

Yes, that seems like the right approach. We shouldn't have got to this
point with an invalid 'Orig' declaration.

Also, please put the test in the existing 'using-decl-1.cpp' file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140411/233e0755/attachment.html>


More information about the cfe-commits mailing list