summaryrefslogtreecommitdiffstats
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
commitb68f7b2a7737fcf105b210f06cf8b4109d5b33ef (patch)
tree77517d3d672a8730f8f65bd8ae6afe86f9166d76
parenta716a345276c5868d966707b8c23c325be769d19 (diff)
downloadbcm5719-llvm-b68f7b2a7737fcf105b210f06cf8b4109d5b33ef.tar.gz
bcm5719-llvm-b68f7b2a7737fcf105b210f06cf8b4109d5b33ef.zip
Fixes typo in comment.
llvm-svn: 171913
-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 b5630ecb121..326c59a365d 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 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()) {
OpenPOWER on IntegriCloud