aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-01-08 23:21:22 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-01-08 23:21:22 +0000
commit456cfc0010ceb785f1e41735935302884b8b4250 (patch)
tree0f86fa349baf5f5a768dac720de28066022d5d9a
parent9c0816f36d9012c5ed1445ed969fba5b60bcec01 (diff)
Fixes typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171913 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index b5630ecb12..326c59a365 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -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()) {