Fixed completion of incomplete array types, fixing
an assertion if we attempted to get the size of one. <rdar://problem/13748253> llvm-svn: 180763
This commit is contained in:
parent
3a8d78a2c3
commit
1c27616226
|
@ -85,6 +85,8 @@ GetCompleteQualType (clang::ASTContext *ast, clang::QualType qual_type, bool all
|
|||
switch (type_class)
|
||||
{
|
||||
case clang::Type::ConstantArray:
|
||||
case clang::Type::IncompleteArray:
|
||||
case clang::Type::VariableArray:
|
||||
{
|
||||
const clang::ArrayType *array_type = dyn_cast<clang::ArrayType>(qual_type.getTypePtr());
|
||||
|
||||
|
|
Loading…
Reference in New Issue