[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
This commit is contained in:
Meador Inge 2017-04-05 22:27:20 +00:00
parent 77b14505aa
commit a91139525a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}