Followup to #85065 Similar to what we have in PatternMatch.h - allows us to peek though optional extensions/truncations CC @mshockwave