add redirection operator for compatibility with LLVM's cpp