Skip to content

some c++ parser crashes #4105

@lattner

Description

@lattner
Bugzilla Link 3733
Resolution FIXED
Resolved on Feb 22, 2010 12:55
Version unspecified
OS All
CC @DougGregor

Extended Description

These crash in different ways:


struct x {
x() : a(4) ;
};

struct x {
int a;
x() : a(4) ;
};

See also the FIXME in ParseCXXInlineMethods.cpp:
// FIXME: What if ParseConstructorInitializer doesn't leave us with a '{'??

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions