[cfe-dev] err_abstract_type_in_decl vs. Sema::AbstractDiagSelID
Aaron Ballman via cfe-dev
cfe-dev at lists.llvm.org
Sat Mar 18 07:39:43 PDT 2017
On Sat, Mar 18, 2017 at 6:05 AM, Vladimir Voskresensky via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Reminder about a possible bug:
> there is no choice in diagnostics for
> Sema::AbstractDiagSelID::AbstractArrayType value
I'm not certain that this is an issue. Sema::AbstractArrayType is
mapped to a different diagnostic than err_abstract_type_in_decl; it
gets mapped to err_array_of_abstract_type in
VerifyDiagnosticConsumer.h:5355.
Are you seeing an issue with the err_abstract_type_in_decl diagnostic?
If so, can you provide a test case?
Thanks!
~Aaron
>
>
> On 14.02.2017 02:59, Vladimir Voskresensky via cfe-dev wrote:
>>
>> Hello
>>
>> There might be an error:
>>
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?view=markup
>> err_abstract_type_in_decl message has selection of 6 choices
>> %select{return|parameter|variable|field|instance variable|synthesized
>> instance variable}
>>
>> but associated
>> Sema::AbstractDiagSelID has 7 valid variants
>> http://clang.llvm.org/doxygen/classclang_1_1Sema.html#tip
>>
>> Thanks,
>> Vladimir.
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list