mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
[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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user