Fixes typo in comment.

llvm-svn: 171913
This commit is contained in:
Fariborz Jahanian 2013-01-08 23:21:22 +00:00
parent a716a34527
commit b68f7b2a77
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 prohibit structs with flexisble array members too.
// Prohibit structs with flexiable 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()) {