[cfe-commits] r127603 - in /cfe/trunk: lib/Sema/SemaTemplateInstantiateDecl.cpp test/CXX/except/except.spec/template.cpp

Douglas Gregor dgregor at apple.com
Mon Mar 14 13:28:18 PDT 2011


On Mar 14, 2011, at 1:21 PM, Sebastian Redl wrote:

> 
> On 14.03.2011, at 21:17, Douglas Gregor wrote:
> 
>> I think we *do* end up instantiating exception specifications at the wrong time still, but that's probably a separable issue. In particular, I think we're only supposed to instantiate the exception specifications once we've selected an overload in overload resolution
> 
> Yes. I wrote a test case that was supposed to fail with ambiguity, but it failed to instantiate the prototypes.

If you have that test case around, could you put it in a PR? 

> I so don't want to be the one to fix that ...


Yeah, it's messy. We probably need to stop relying on FunctionDecls while we're performing overload resolution for function template specializations, which probably means I should do it. Draw straws? ;)

	- Doug



More information about the cfe-commits mailing list