Dictionary / Vocabulary / 慣用表現
かんようひょうげん
idiomatic expression; idiom; fixed expression
needless to sayは不定詞の慣用表現として紹介されることが多いです。
'Needless to say' is often used as an idiomatic expression in the infinitive.