yep, what WR says is correct. there's a difference but it is so small as to not be worth considering.
in most cases, aero trumps weight. most = when grades are below 6% and when one rides down whatever was ridden up. for special cases (finishing climbs are pure HCs with grades 6% or steeper) weight starts to get a small advantage.
the amount varies with rider weight and power, but at "normal" racer weights and power the above is true. the lighter/faster you are, the greater the benefit of aero gear. i.e., chris froome can benefit from aero equipment up steeper grades than i can.