Don't pass StringRefs around by const reference. Pass by value instead per coding standards. NFC

llvm-svn: 248137
This commit is contained in:
Craig Topper 2015-09-21 00:20:04 +00:00
parent 4e9b03d6f9
commit 3db9ba4248
1 changed files with 1 additions and 1 deletions

View File

@ -1670,7 +1670,7 @@ static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args,
/// parameter in reciprocal argument strings. Return false if there is an error
/// parsing the refinement step. Otherwise, return true and set the Position
/// of the refinement step in the input string.
static bool getRefinementStep(const StringRef &In, const Driver &D,
static bool getRefinementStep(StringRef In, const Driver &D,
const Arg &A, size_t &Position) {
const char RefinementStepToken = ':';
Position = In.find(RefinementStepToken);