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

jahanian fjahanian at apple.com
Tue Jan 8 15:49:38 PST 2013


On Jan 8, 2013, at 3:45 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> 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 :)
I should stop using 'vi' :). In r171917
- Fariborz

> 
>>     // 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