Include <cmath> before using std::pow()
authorJason Molenda <jason@molenda.com>
Thu, 29 Sep 2022 00:35:35 +0000 (17:35 -0700)
committerJason Molenda <jason@molenda.com>
Thu, 29 Sep 2022 00:35:35 +0000 (17:35 -0700)
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.

lldb/unittests/Utility/ScalarTest.cpp

index 1e65cd5..17dfc68 100644 (file)
@@ -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;