On Oct 23, 2009, at 1:32 PM, Douglas Gregor wrote:

>
> On Oct 23, 2009, at 12:38 PM, Sebastian Redl wrote:
>
>> Author: cornedbee
>> Date: Fri Oct 23 14:38:17 2009
>> New Revision: 84964
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=84964&view=rev
>> Log:
>> Fix operator precedence in Doug's most recent commit.

>> -    if (DecoratedD.getInt() & HasQualifierFlag == 0)
>> +    if ((DecoratedD.getInt() & HasQualifierFlag) == 0)
>>      return reinterpret_cast<ExplicitTemplateArgumentList *>(this +
>> 1);
>>
>>    return reinterpret_cast<ExplicitTemplateArgumentList *>(
>
> Whoops. Thanks for the fix!

Does clang warn about that case?  If not, please file a bugzilla,

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to