remove deprecated stuff from clang base template