This patch should fix various clang warnings and a use of to_string

which isn't support before c++11.

llvm-svn: 304252
This commit is contained in:
Eric Beckmann 2017-05-30 22:29:06 +00:00
parent 0bd0aa8f07
commit ba395ef491
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
#include "llvm/Object/WindowsResource.h"
#include "llvm/Support/COFF.h"
#include <sstream>
#include <system_error>
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));
}
}