The companies I've seen adjusting salaries are adjusting for "market rate" of salaries, not CoL. This can result in moving to an area with a higher cost of living and a lower salary.
Pay is usually max(COL, local market rate). You don't need a super high COL if the local market is very competitive, but COL can raise the pay because you still need to convince people to move to your location and most people won't do that if it has an abnormally higher cost of living without a corresponding pay increase.