From a91139525a2ed9f4fe2f611dd19a29acbc1e0736 Mon Sep 17 00:00:00 2001 From: Meador Inge Date: Wed, 5 Apr 2017 22:27:20 +0000 Subject: [PATCH] [Driver] Print a newline when invoking `-print-resource-dir` The commit yesterday (r299473) to add the `-print-resource-dir` option was supposed to emit a newline after the resource dir. Differential Revision: https://reviews.llvm.org/D31447 llvm-svn: 299597 --- clang/lib/Driver/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index adba98a93edd..dda754127766 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -1170,7 +1170,7 @@ bool Driver::HandleImmediateArgs(const Compilation &C) { TC.printVerboseInfo(llvm::errs()); if (C.getArgs().hasArg(options::OPT_print_resource_dir)) { - llvm::outs() << ResourceDir; + llvm::outs() << ResourceDir << '\n'; return false; }