diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-20 22:57:06 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-20 23:00:32 -0700 |
commit | 895337647896edefda244c7afc4b71eab41ff850 (patch) | |
tree | 15384ec11fe1e134dc4d5b912c718ee645d42d68 /lldb/source/Expression/Materializer.cpp | |
parent | 0ebdc3be417f4833395281fda8be6df47f73935c (diff) | |
download | llvm-895337647896edefda244c7afc4b71eab41ff850.zip llvm-895337647896edefda244c7afc4b71eab41ff850.tar.gz llvm-895337647896edefda244c7afc4b71eab41ff850.tar.bz2 |
[lldb] Remove redundant WithFormat suffixes (NFC)
Replace calls to FooWithFormat() with calls to Foo() when only one
argument is provided and the given string doesn't need to be formatted.
Diffstat (limited to 'lldb/source/Expression/Materializer.cpp')
-rw-r--r-- | lldb/source/Expression/Materializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/Materializer.cpp b/lldb/source/Expression/Materializer.cpp index f334620..200204c 100644 --- a/lldb/source/Expression/Materializer.cpp +++ b/lldb/source/Expression/Materializer.cpp @@ -797,7 +797,7 @@ public: llvm::Optional<size_t> opt_bit_align = m_type.GetTypeBitAlign(exe_scope); if (!opt_bit_align) { - err.SetErrorStringWithFormat("can't get the type alignment"); + err.SetErrorString("can't get the type alignment"); return; } |