[llvm] 04a5ca8 - Include <cmath> in FileUtilities.cpp for std:abs(double)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 29 15:37:37 PDT 2022
Author: Rahul Joshi
Date: 2022-09-29T15:33:49-07:00
New Revision: 04a5ca862bb989acdd2729d0991b4e5a104bf244
URL: https://github.com/llvm/llvm-project/commit/04a5ca862bb989acdd2729d0991b4e5a104bf244
DIFF: https://github.com/llvm/llvm-project/commit/04a5ca862bb989acdd2729d0991b4e5a104bf244.diff
LOG: Include <cmath> in FileUtilities.cpp for std:abs(double)
Added:
Modified:
llvm/lib/Support/FileUtilities.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp
index eda3eb044901d..24960cc96bde8 100644
--- a/llvm/lib/Support/FileUtilities.cpp
+++ b/llvm/lib/Support/FileUtilities.cpp
@@ -19,6 +19,7 @@
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/raw_ostream.h"
+#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <cstring>
More information about the llvm-commits
mailing list