From 4b7a5ae0a4d5d3bf7cb9294aeed914aa7727af05 Mon Sep 17 00:00:00 2001 From: Eric Beckmann Date: Tue, 30 May 2017 22:29:06 +0000 Subject: [PATCH] This patch should fix various clang warnings and a use of to_string which isn't support before c++11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304252 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/WindowsResource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Object/WindowsResource.cpp b/lib/Object/WindowsResource.cpp index 511debd286e..e655b152f21 100644 --- a/lib/Object/WindowsResource.cpp +++ b/lib/Object/WindowsResource.cpp @@ -13,6 +13,7 @@ #include "llvm/Object/WindowsResource.h" #include "llvm/Support/COFF.h" +#include #include namespace llvm { @@ -213,7 +214,7 @@ void WindowsResourceParser::TreeNode::print(ScopedPrinter &Writer, Child.second->print(Writer, Child.first); } for (auto const &Child : IDChildren) { - Child.second->print(Writer, std::to_string(Child.first)); + Child.second->print(Writer, to_string(Child.first)); } } -- 2.40.0