Skip to content

Commit 747d8a3

Browse files
committed
[NFC] ParseTestSpecification rename a variable
Because it doesn't really hold a "string".
1 parent b01568a commit 747d8a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/SILOptimizer/Utils/ParseTestSpecification.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ struct Arguments {
155155
template <typename Subtype>
156156
typename Subtype::Stored getInstance(StringRef name, Argument &argument) {
157157
if (isa<Subtype>(argument)) {
158-
auto string = cast<Subtype>(argument).getValue();
159-
return string;
158+
auto stored = cast<Subtype>(argument).getValue();
159+
return stored;
160160
}
161161
llvm::errs() << "Attempting to take a " << name << " argument but have\n";
162162
argument.print(llvm::errs());

0 commit comments

Comments
 (0)