Skip to content

Commit caff17e

Browse files
committed
[LLVM][NFC] Remove redundant copy parameter in lambda
1 parent 9c7c63c commit caff17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class AArch64FunctionInfo final : public MachineFunctionInfo {
303303
void setLocalStackSize(uint64_t Size) { LocalStackSize = Size; }
304304
uint64_t getLocalStackSize() const { return LocalStackSize; }
305305

306-
void setOutliningStyle(std::string Style) { OutliningStyle = Style; }
306+
void setOutliningStyle(const std::string &Style) { OutliningStyle = Style; }
307307
std::optional<std::string> getOutliningStyle() const {
308308
return OutliningStyle;
309309
}

0 commit comments

Comments
 (0)