Skip to content

Commit

Permalink
[Driver] Print a newline when invoking -print-resource-dir
Browse files Browse the repository at this point in the history
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
  • Loading branch information
meadori committed Apr 5, 2017
1 parent 77b1450 commit a911395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Driver/Driver.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit a911395

Please sign in to comment.