[llvm] 551a697 - xray-color-helper.cpp - add missing implicit cmath header dependency. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 5 13:33:59 PDT 2021
Author: Simon Pilgrim
Date: 2021-06-05T21:33:24+01:00
New Revision: 551a697c5cf33275b66add4fc467fcf59084cffb
URL: https://github.com/llvm/llvm-project/commit/551a697c5cf33275b66add4fc467fcf59084cffb
DIFF: https://github.com/llvm/llvm-project/commit/551a697c5cf33275b66add4fc467fcf59084cffb.diff
LOG: xray-color-helper.cpp - add missing implicit cmath header dependency. NFCI.
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h (necessary for gcc builds but not MSVC)
Added:
Modified:
llvm/tools/llvm-xray/xray-color-helper.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-xray/xray-color-helper.cpp b/llvm/tools/llvm-xray/xray-color-helper.cpp
index ea7ff357826b..e2cae21e162b 100644
--- a/llvm/tools/llvm-xray/xray-color-helper.cpp
+++ b/llvm/tools/llvm-xray/xray-color-helper.cpp
@@ -13,6 +13,7 @@
#include "xray-color-helper.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
+#include <cmath>
using namespace llvm;
using namespace xray;
More information about the llvm-commits
mailing list