Fix typo (again).

llvm-svn: 171917
This commit is contained in:
Fariborz Jahanian 2013-01-08 23:48:48 +00:00
parent 80fe907903
commit 5eae4adf23
1 changed files with 1 additions and 1 deletions

View File

@ -10759,7 +10759,7 @@ bool Sema::tryCaptureVariable(VarDecl *Var, SourceLocation Loc,
}
return true;
}
// Prohibit structs with flexiable array members too.
// Prohibit structs with flexible array members too.
// We cannot capture what is in the tail end of the struct.
if (const RecordType *VTTy = Var->getType()->getAs<RecordType>()) {
if (VTTy->getDecl()->hasFlexibleArrayMember() && IsBlock) {