HomePhabricator

Add an optional ToolName argument to runToolOnCodeWithArgs/buildASTFromCodeWith…

Authored by bkramer on Jan 29 2016, 3:29 AM.

Description

Add an optional ToolName argument to runToolOnCodeWithArgs/buildASTFromCodeWithArgs.

This can be used as a way to modify argv[0] for a clang tool.

Differential Revision: http://reviews.llvm.org/D16718

llvm-svn: 259187