1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Do not declare compiler extension member as const

It keeps them default constructible.
This commit is contained in:
serge-sans-paille 2020-04-24 11:44:42 +02:00
parent f4160c30dc
commit 48b1234c8a

View File

@ -969,7 +969,7 @@ function(process_llvm_pass_plugins)
"#include <array>\n\ "#include <array>\n\
struct ExtensionDescriptor {\n\ struct ExtensionDescriptor {\n\
const char* Name;\n\ const char* Name;\n\
const char* const RequiredLibraries[1 + 1 + ${llvm_plugin_max_deps_length}];\n\ const char* RequiredLibraries[1 + 1 + ${llvm_plugin_max_deps_length}];\n\
};\n\ };\n\
std::array<ExtensionDescriptor, ${llvm_static_extension_count}> AvailableExtensions{\n") std::array<ExtensionDescriptor, ${llvm_static_extension_count}> AvailableExtensions{\n")