view src/llvm-2-demangle.patch @ 5599:ac27eba752af

* src/llvm.mk: Restore variable removed in 9722214b6722.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 13 Dec 2020 11:20:22 +0100
parents 9722214b6722
children
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;