[lldb] [llvm] [lldb] Return an llvm::Expected from DWARFExpression::Evaluate (NFCI) (PR #94420)
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 01:43:08 PDT 2024
================
@@ -1277,6 +1277,11 @@ inline Error createStringError(const Twine &S) {
return createStringError(llvm::inconvertibleErrorCode(), S);
}
+template <typename... Ts>
+inline Error createStringError(char const *Fmt, const Ts &...Vals) {
+ return createStringError(llvm::inconvertibleErrorCode(), Fmt, Vals...);
+}
+
----------------
DavidSpickett wrote:
Ah here it is :)
https://github.com/llvm/llvm-project/pull/94420
More information about the llvm-commits
mailing list