Some NamedDecl (constructors and desctructors) do not have a name.

Since the code does not (yet) use the name for anything here, remove
the call to getName() which provokes an assert in clang if the decl
is a constructor or a destructor.