The B-52 has its wings set well forward of the main gear and the bomb bay, apparently in compensation for the sweep:
Photo © Roberto Benetti
On the other hand, this Sabre appears to have the bulk of its wing area behind the main gear, suggesting that wing sweep does not influence the placement of the wing:
Photo © Ken Cheung
The variable-sweep wing concept as applied to several military aircraft also suggests that sweep is not a factor when aligning the wing with the C of G, because if it were the wings would have to bodily shift forward when they are swept back and vice versa.
Can someone shed light on this puzzle for me?