moving defs into clangconnection