forked from OSchip/llvm-project
Don't pass StringRefs around by const reference. Pass by value instead per coding standards. NFC
llvm-svn: 248137
This commit is contained in:
parent
4e9b03d6f9
commit
3db9ba4248
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue