aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-01-08 23:48:48 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-01-08 23:48:48 +0000
commitb20eb10c8f51d26b0c486f345db25e26f96acb06 (patch)
tree1600e30041821a410daa21d817facba5f0a7abee /lib/Sema/SemaExpr.cpp
parent4b3040f51a96248fa34ba14cf54914d361142bd7 (diff)
Fix typo (again).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-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 352be07f1a..5b7a39674b 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 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) {