pcc added a comment. I normally quit clang-query, or pretty much any other interactive command line program, by typing end-of-file (Ctrl-D on Unix, Ctrl-Z <enter> on Windows). If this works on Windows 10 I'd rather users do it that way. We can make this more discoverable through documentation. http://reviews.llvm.org/D11761