Fix clang-query on Windows: flush llvm::outs() after each command.

llvm-svn: 209313
This commit is contained in:
Manuel Klimek 2014-05-21 18:10:47 +00:00
parent a45c1600dc
commit 5a1ef9c855
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ int main(int argc, const char **argv) {
while (llvm::Optional<std::string> Line = LE.readLine()) {
QueryRef Q = QueryParser::parse(*Line, QS);
Q->run(llvm::outs(), QS);
llvm::outs().flush();
}
}