view src/llvm-2-demangle.patch @ 5598:9722214b6722

LLVM: Update to version 8.0.1. * src/llvm.mk: Update version and checksum. Remove unused variable. * src/llvm-2-demangle.patch: Add new patch that adds missing headers. * dist-files.mk: Include new file in list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 11 Dec 2020 20:46:31 +0100
parents
children ac27eba752af
line wrap: on
line source

MicrosoftDemangleNodes.h uses `uint8_t` without including `<cstdint>` and
std::string` without including `<string>`.


diff --git a/include/llvm/Demangle/MicrosoftDemangleNodes.h b/include/llvm/Demangle/MicrosoftDemangleNodes.h
--- a/include/llvm/Demangle/MicrosoftDemangleNodes.h
+++ b/include/llvm/Demangle/MicrosoftDemangleNodes.h
@@ -4,6 +4,8 @@
 #include "llvm/Demangle/Compiler.h"
 #include "llvm/Demangle/StringView.h"
 #include <array>
+#include <cstdint>
+#include <string>

 class OutputStream;