Adding work-around for apparent Clang bug that causes duplicate visitation of declarations.