Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Checkers for type compatibility

A checker for assignment compatibility would be very useful. Function parameter compatibility is already being checked as part of function resolution in C++ code, but for C code it would also be very useful.

-sergey 


On Sun, Jun 15, 2014 at 5:54 AM, Azab, Mohamed <Mohamed_Azab@xxxxxxxxxx> wrote:

Hi All,

 

I was trying to put together a routine to check for type compatibility for parameters in function calls (inheritance, implicit type casting, …).

And I found that CDT doesn’t contain a CODAN checker for type mismatch in assignment statements or function calls.

Am I missing something? If this is truly the case, is there a specific design perspective in not to check for type mismatches?

 

Regards,

Mohamed Azab

 


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top