Re: [cfe-commits] [Patch] Add handling of APSInt to Template Type Diffing - Fixes PR14015

2012-11-01 Thread Richard Trieu
On Mon, Oct 22, 2012 at 3:24 PM, Richard Trieu rtr...@google.com wrote: On Mon, Oct 22, 2012 at 2:37 PM, Matthew Curtis mcur...@codeaurora.orgwrote: On 10/8/2012 8:55 PM, Richard Trieu wrote: An assumption during the creation of Template Type Diffing expected that integral arguments

Re: [cfe-commits] [Patch] Add handling of APSInt to Template Type Diffing - Fixes PR14015

2012-10-22 Thread Matthew Curtis
On 10/8/2012 8:55 PM, Richard Trieu wrote: An assumption during the creation of Template Type Diffing expected that integral arguments would be available as Expr's (e.g. IntegralLiteral). However, it appears that in some cases, the TemplateArgument gives an Expr, and in others,

Re: [cfe-commits] [Patch] Add handling of APSInt to Template Type Diffing - Fixes PR14015

2012-10-22 Thread Richard Trieu
On Mon, Oct 22, 2012 at 2:37 PM, Matthew Curtis mcur...@codeaurora.orgwrote: On 10/8/2012 8:55 PM, Richard Trieu wrote: An assumption during the creation of Template Type Diffing expected that integral arguments would be available as Expr's (e.g. IntegralLiteral). However, it appears that

[cfe-commits] [Patch] Add handling of APSInt to Template Type Diffing - Fixes PR14015

2012-10-08 Thread Richard Trieu
An assumption during the creation of Template Type Diffing expected that integral arguments would be available as Expr's (e.g. IntegralLiteral). However, it appears that in some cases, the TemplateArgument gives an Expr, and in others, TemplateArgument only gives an APSInt. This patch allows