summaryrefslogtreecommitdiff
path: root/lldb/unittests
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2023-05-02 00:17:52 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2023-05-02 00:20:34 -0700
commitddd9358bcaef5a348dd387a6a27539f7f49646d1 (patch)
tree2a281d55bdbae8e0ad0132bdc59cd1d088ad9c0d /lldb/unittests
parent3c83afb68bb1818eb20e58ef163a779c54aa69f1 (diff)
downloadllvm-ddd9358bcaef5a348dd387a6a27539f7f49646d1.tar.gz
[lldb] Remove unused will_modify argument (NFC)
Various OptionValue related classes are passing around will_modify but the value is never used. This patch simplifies the interfaces by removing the redundant argument.
Diffstat (limited to 'lldb/unittests')
-rw-r--r--lldb/unittests/Interpreter/TestOptionValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Interpreter/TestOptionValue.cpp b/lldb/unittests/Interpreter/TestOptionValue.cpp
index 9e32e270d4ca..30687d6a6ede 100644
--- a/lldb/unittests/Interpreter/TestOptionValue.cpp
+++ b/lldb/unittests/Interpreter/TestOptionValue.cpp
@@ -105,7 +105,7 @@ public:
}
OptionValueFileSpecList *GetFileList() {
- return GetPropertyAtIndexAsOptionValueFileSpecList(nullptr, true,
+ return GetPropertyAtIndexAsOptionValueFileSpecList(nullptr,
m_file_list_index);
}