commit | 770571d91b69a1793b7f2036e197969df46ea5eb | [log] [tgz] |
---|---|---|
author | Jean-Francois Geyelin <jif@google.com> | Wed Apr 12 12:39:06 2023 +0000 |
committer | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com <swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 12 14:20:37 2023 +0000 |
tree | bc7f312002d2f955a516779d4c7cf52d4159a89b | |
parent | 8ef6045b0a23ebc3cc8b08f89a728d1975538f86 [diff] |
Add missing #include in LLVM 16 Cherry pick of https://llvm.googlesource.com/llvm-project/+/e62d0e1520e9eb3974b5d766100bf2be39a934d8 Compilation error happens when building Swiftshader for chromium: inclusion of <type_traits> is needed for std::is_pod Bug: b/272710814 Change-Id: I26f46d6a95bc0901d1096e5eca8728a4e416b053 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/71408 Kokoro-Result: kokoro <noreply+kokoro@google.com> Commit-Queue: Jean-François Geyelin <jif@google.com> Tested-by: Jean-François Geyelin <jif@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/third_party/llvm-16.0/llvm/include/llvm/Demangle/ItaniumDemangle.h b/third_party/llvm-16.0/llvm/include/llvm/Demangle/ItaniumDemangle.h index 0dd49ea..121eae1 100644 --- a/third_party/llvm-16.0/llvm/include/llvm/Demangle/ItaniumDemangle.h +++ b/third_party/llvm-16.0/llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -27,6 +27,7 @@ #include <cstring> #include <limits> #include <new> +#include <type_traits> #include <utility> DEMANGLE_NAMESPACE_BEGIN