]> granicus.if.org Git - clang/commitdiff
Fixes typo in comment.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 8 Jan 2013 23:21:22 +0000 (23:21 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 8 Jan 2013 23:21:22 +0000 (23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171913 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExpr.cpp

index b5630ecb121f3653aa26e1dc6fb6170ccb7ddcf6..326c59a365de10967b7f858784300213f5482418 100644 (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()) {