summaryrefslogtreecommitdiffstats
path: root/clang-query
diff options
context:
space:
mode:
Diffstat (limited to 'clang-query')
-rw-r--r--clang-query/tool/ClangQuery.cpp1
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();
}
}