From: Meador Inge Date: Wed, 5 Apr 2017 22:27:20 +0000 (+0000) Subject: [Driver] Print a newline when invoking `-print-resource-dir` X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=677f5363b0c9197053fdeb82feb2408566da98e0;p=clang [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299597 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index adba98a93e..dda7541277 100644 --- a/lib/Driver/Driver.cpp +++ b/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; }