summaryrefslogtreecommitdiffstats
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
commit5eae4adf233198d3ad0b9da0a12d0fe1e0d3c2fb (patch)
tree4748fc78936c3762779b0179848843a9c47edb92
parent80fe907903d968abd78df29eb23e987c9b933fff (diff)
downloadbcm5719-llvm-5eae4adf233198d3ad0b9da0a12d0fe1e0d3c2fb.tar.gz
bcm5719-llvm-5eae4adf233198d3ad0b9da0a12d0fe1e0d3c2fb.zip
Fix typo (again).
llvm-svn: 171917
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 352be07f1a5..5b7a39674b0 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud