[clang] Remove declarations without definitions (NFC) (#242170)
This patch removes function and method declarations that have no
definitions and no callers. This patch also explicitly deletes two
undefined default constructors so that accidental default construction
fails at compile time instead of link time.
Assisted-by: Antigravity