Hello Eli,
I am able to crate QualType for all types of pointers by using ASTContext::getPointerType(). But again I am stuggling for const int.
I am trying to use this method ASTContext::GetBuiltinType (unsigned ID, GetBuiltinTypeError &Error), but not sure if this is the method needs to be used and if so what is the ID value for “int”.
Once I get QualType, I can call the addConst () to get const type qualifier.
Regards,
Mona