Hi,

I have a question concerning function parameters.
Why does CIL remove the const qualifier on all function parameters with 
non-pointer type?

Here is an example:
// original function
void all_const(const int a0, const long a1, const char a2)
{ ... }
// CIL output
void all_const(int a0 , long a1 , char a2 )
{ ... }

I need to preserve the original function parameter types, including any 
qualifiers, for my CIL analysis. Is there a way to prevent the const 
removal and preserve type qualifiers for such non-pointer type function 
parameters?

best regards
Oliver

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to