diff options
author | Manuel Klimek <klimek@google.com> | 2014-05-21 18:10:47 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2014-05-21 18:10:47 +0000 |
commit | 746f28ca9e1ad43f34d430cb35c95e10b49fbc27 (patch) | |
tree | 3e9bfee058c33f4ed7a422a35822c4386a2bb7ee /clang-query | |
parent | fe91477372149868b3cb21d3f88fad5b035f54c4 (diff) |
Fix clang-query on Windows: flush llvm::outs() after each command.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@209313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-query')
-rw-r--r-- | clang-query/tool/ClangQuery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-query/tool/ClangQuery.cpp b/clang-query/tool/ClangQuery.cpp index 8454359a..d38451a7 100644 --- a/clang-query/tool/ClangQuery.cpp +++ b/clang-query/tool/ClangQuery.cpp @@ -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(); } } |