Skip to content
Commit 88d67f34 authored by Richard Smith's avatar Richard Smith
Browse files

Fix crash when a decltype expression in a trailing return type refers to the

function being instantiated. An error recovery codepath was recursively
performing name lookup (and triggering an unbounded stack of template
instantiations which blew out the stack before hitting the depth limit).

Patch by Wei Pan!

llvm-svn: 164586
parent 2603a187
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment