[cfe-dev] New C++0x feature support in Clang

John Bytheway jbytheway+llvm at gmail.com
Fri Feb 4 14:57:19 PST 2011


On 04/02/11 22:03, John Bytheway wrote:
> On 03/02/11 23:16, Douglas Gregor wrote:
>> On Feb 3, 2011, at 3:07 PM, John Bytheway wrote:
<snip>
>>> clang: SemaCXXCast.cpp:612: TryCastResult TryStaticCast(clang::Sema&,
>>> clang::Expr*&, clang::QualType, bool, const clang::SourceRange&,
>>> unsigned int&, clang::CastKind&, clang::CXXCastPath&): Assertion
>>> `SrcType->getAs<EnumType>()->getDecl()->isScoped()' failed.
>>
>> Can you identify the problematic code here and file a bug?
> 
> I'll have a go now.

Done.

http://llvm.org/bugs/show_bug.cgi?id=9140

...and you get a freebie too; a different assertion failure reduced from
the same code:

http://llvm.org/bugs/show_bug.cgi?id=9141

Looking forward to being able to compile my C++0x projects with clang!

John




More information about the cfe-dev mailing list