[Lldb-commits] [lldb] 34f3e57 - Include <cmath> before using std::pow()
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 28 17:36:48 PDT 2022
Author: Jason Molenda
Date: 2022-09-28T17:35:35-07:00
New Revision: 34f3e576806bc91f7ebf3da43cf9c1cbc18c0ba2
URL: https://github.com/llvm/llvm-project/commit/34f3e576806bc91f7ebf3da43cf9c1cbc18c0ba2
DIFF: https://github.com/llvm/llvm-project/commit/34f3e576806bc91f7ebf3da43cf9c1cbc18c0ba2.diff
LOG: Include <cmath> before using std::pow()
Not sure why this is failing for me to build tonight, but either
something in a header somewhere changed or my tools changed, and
it is failing to compile.
Added:
Modified:
lldb/unittests/Utility/ScalarTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/Utility/ScalarTest.cpp b/lldb/unittests/Utility/ScalarTest.cpp
index 1e65cd535733d..17dfc689dd4e8 100644
--- a/lldb/unittests/Utility/ScalarTest.cpp
+++ b/lldb/unittests/Utility/ScalarTest.cpp
@@ -15,6 +15,8 @@
#include "lldb/Utility/StreamString.h"
#include "llvm/Testing/Support/Error.h"
+#include <cmath>
+
using namespace lldb_private;
using llvm::APFloat;
using llvm::APInt;
More information about the lldb-commits
mailing list