[cfe-commits] r171913 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Richard Smith richard at metafoo.co.uk
Tue Jan 8 15:45:02 PST 2013


On Tue, Jan 8, 2013 at 3:21 PM, Fariborz Jahanian <fjahanian at apple.com> wrote:
> Author: fjahanian
> Date: Tue Jan  8 17:21:22 2013
> New Revision: 171913
>
> URL: http://llvm.org/viewvc/llvm-project?rev=171913&view=rev
> Log:
> Fixes typo in comment.
>
> Modified:
>     cfe/trunk/lib/Sema/SemaExpr.cpp
>
> Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=171913&r1=171912&r2=171913&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaExpr.cpp Tue Jan  8 17:21:22 2013
> @@ -10759,7 +10759,7 @@
>        }
>        return true;
>      }
> -    // Prohibit prohibit structs with flexisble array members too.
> +    // Prohibit structs with flexiable array members too.

This still has a typo in it :)

>      // We cannot capture what is in the tail end of the struct.
>      if (const RecordType *VTTy = Var->getType()->getAs<RecordType>()) {
>        if (VTTy->getDecl()->hasFlexibleArrayMember()) {
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list