Author: meadori Date: Wed Apr 5 17:27:20 2017 New Revision: 299597 URL: http://llvm.org/viewvc/llvm-project?rev=299597&view=rev Log: [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 Modified: cfe/trunk/lib/Driver/Driver.cpp Modified: cfe/trunk/lib/Driver/Driver.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=299597&r1=299596&r2=299597&view=diff ============================================================================== --- cfe/trunk/lib/Driver/Driver.cpp (original) +++ cfe/trunk/lib/Driver/Driver.cpp Wed Apr 5 17:27:20 2017 @@ -1170,7 +1170,7 @@ bool Driver::HandleImmediateArgs(const C TC.printVerboseInfo(llvm::errs()); if (C.getArgs().hasArg(options::OPT_print_resource_dir)) { - llvm::outs() << ResourceDir; + llvm::outs() << ResourceDir << '\n'; return false; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits