[cfe-commits] r127150 - in /cfe/trunk: lib/Sema/TreeTransform.h test/SemaTemplate/instantiate-member-template.cpp

Douglas Gregor dgregor at apple.com
Mon Mar 7 07:17:44 PST 2011


On Mar 7, 2011, at 3:43 AM, NAKAMURA Takumi wrote:

> Hello, Doug.
> 
> On Mon, Mar 7, 2011 at 11:33 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Sun Mar  6 20:33:33 2011
>> New Revision: 127150
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=127150&view=rev
>> Log:
>> When transforming a dependent template specialization type, make sure
>> to set the source-location information for the template arguments to
>> the *transformed* source-location information, not the original
>> source-location information. Fixes <rdar://problem/8986308> (a libc++
>> SFINAE issue) and the Boost.Polygon failure.
>> 
>> Modified:
>>    cfe/trunk/lib/Sema/TreeTransform.h
>>    cfe/trunk/test/SemaTemplate/instantiate-member-template.cpp
> 
> It seems r127150 might be the failure with --vg.
> http://google1.osuosl.org:8011/builders/clang-x86_64-linux-vg/builds/816
> 
> I guess it would unveil other potential bug or something?
> I checked, on x86_64-linux, all of test/SemaTemplate can pass with
> --vg to revert r127150 locally.

Ah, thanks! I've fixed the issue in r127159.

  - Doug




More information about the cfe-commits mailing list