Type cast in clang

Are there easy way to cast type from IntegerLiteral to FloatingLiteral and vice versa? How?

Thanks in advance

I'm not sure what you mean. An IntegerLiteral is never a FloatingLiteral. You can make an implicit conversion node which does a CK_IntegralToFloating conversion, and then you'll have a constant expression of floating-point type; but it still won't actually be a FloatingLiteral.