On Sun, Jan 11, 2015 at 10:53 AM, Kim Gräsman <
kim.g...@gmail.com> wrote:
>
> On Fri, Jan 9, 2015 at 8:57 AM, Daniel Jump <
bigw...@gmail.com> wrote:
>>
>> [bar.h]
>> inline void Bar()
>> {
>> static_cast<std::remove_pointer<Foo*>::type*>((Foo*)nullptr)->Release();
>> }
I've reduced this down to:
inline void Bar
{
std::remove_pointer<Foo*>::type x;
}
with the same result. It looks like IWYU is confused by the
typedef-of-template-arg in std::remove_pointer.
I ran it with -v7 and didn't get much more relevant information, so I
think this is a case that IWYU just fails to record.
I logged this as issue #169, thanks!
- Kim