Lipitor is a medication used to treat high cholesterol and other conditions. It can cause changes in the body that lead to type 2 diabetes, but its not clear how common this side effect is.