xray-color-helper.cpp - add missing implicit cmath header dependency. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 5 Jun 2021 20:32:41 +0000 (21:32 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 5 Jun 2021 20:33:24 +0000 (21:33 +0100)
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h (necessary for gcc builds but not MSVC)

llvm/tools/llvm-xray/xray-color-helper.cpp

index ea7ff35..e2cae21 100644 (file)
@@ -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;