South Carolina’s senior senator died of a “brief and sudden illness,” according to a public posting from his office.