McDonald's shares hit an all-time intraday high Tuesday in large part because of its all-day breakfast menu, Barclays restaurant analyst Jeffrey Bernstein said.

The stock traded as high as $131.96 and closed at $131.60, up 0.6 percent.