Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sema: Disallow derived classes with virtual bases from having flexible array ↵ | David Majnemer | 2013-11-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | members Flexible array members only work out if they are the last field of a record, however virtual bases would give us many situations where the flexible array member would overlap with the virtual base fields. It is unlikely in the extreme that this behavior was intended by the user so raise a diagnostic instead of accepting. This is will not reject conforming code because flexible array members are an extension in C++ mode. llvm-svn: 193920 | ||||
* | g++ is more permissive regarding flexible arrays. | Argyrios Kyrtzidis | 2011-03-07 | 1 | -1/+15 |
| | | | | | | | | It will accept flexible array in union and also as the sole element of a struct/class. Fixes rdar://9065507. llvm-svn: 127171 | ||||
* | It's OK for classes to have flexible array elements (but not unions). | Anders Carlsson | 2010-09-03 | 1 | -0/+10 |
| | | | | llvm-svn: 113018 | ||||
* | Improve on flexible array diagnostics (PR7029). | Fariborz Jahanian | 2010-05-26 | 1 | -1/+1 |
| | | | | llvm-svn: 104739 | ||||
* | Fixes misc. flexible array bugs in c++ (PR7029). | Fariborz Jahanian | 2010-05-26 | 1 | -0/+45 |
llvm-svn: 104733 |