[cfe-dev] Running clang over the C++ standard header <vector>
Eli Friedman
eli.friedman at gmail.com
Wed Jun 10 12:51:08 PDT 2009
On Wed, Jun 10, 2009 at 6:34 AM, Douglas Gregor<dgregor at apple.com> wrote:
>
> On Jun 10, 2009, at 3:16 AM, Eli Friedman wrote:
>
>> I was curious how much trouble clang would have with <vector>
>> considering current template work, so I tried it out; ignoring using
>> declarations, I've managed to reduce the following issues, which I
>> think are distinct from each other.
>
> Thanks for doing this!
You're welcome :)
>> Crash 3:
>> template<typename T> T a() { return typename T::x(); }
>
> Known not to work; we haven't started work on function templates (
The following also crashes:
template<class T> struct a { T b() { return typename T::x(); } };
Does this look like it should work?
>> I'm not sure whether it's appropriate to file bugs for all of these at
>> the moment...
>
> Feel free to file bugs for crashes 1 and 4, because support for those
> features is mostly available now and the examples should work.
Okay, will do.
-Eli
More information about the cfe-dev
mailing list