[PATCH] Fix stack overflow in MSVC unqualified type lookup logic

Will Wilson via cfe-commits cfe-commits at lists.llvm.org
Fri May 27 21:56:43 PDT 2016


Hi Alexey,

A customer encountered a stack overflow in the code from r229817. I've
created a small repro for testing the issue and a fix. The fix should also
better deal with lookup into partially specialized base templates.

Test case included and tested against latest trunk.

Let me know if it looks acceptable!

Cheers,
Will.

-- 
*Indefiant *: http://www.indefiant.com
Home of Recode : Runtime C++ Editing for VS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160528/bc3daab0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvc_partial_template_lookup.patch
Type: application/octet-stream
Size: 1878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160528/bc3daab0/attachment.obj>


More information about the cfe-commits mailing list