[clang-tools-extra] r209313 - Fix clang-query on Windows: flush llvm::outs() after each command.
Manuel Klimek
klimek at google.com
Wed May 21 11:10:48 PDT 2014
Author: klimek
Date: Wed May 21 13:10:47 2014
New Revision: 209313
URL: http://llvm.org/viewvc/llvm-project?rev=209313&view=rev
Log:
Fix clang-query on Windows: flush llvm::outs() after each command.
Modified:
clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp
Modified: clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp?rev=209313&r1=209312&r2=209313&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp (original)
+++ clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp Wed May 21 13:10:47 2014
@@ -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();
}
}
More information about the cfe-commits
mailing list