diff options
author | serge-sans-paille <sguelton@redhat.com> | 2020-04-24 11:44:42 +0200 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-06-17 16:57:30 -0700 |
commit | 2f6b23d4d00ce08e71f1046158efe209aa01fcd1 (patch) | |
tree | e3169f18204be4b886fc19aae489672646f2afca | |
parent | 5f510e51dd4e6de5987a162f232c514a4dc8b0e3 (diff) | |
download | llvm-2f6b23d4d00ce08e71f1046158efe209aa01fcd1.tar.gz |
Do not declare compiler extension member as const
It keeps them default constructible.
(cherry picked from commit e307eeba0137700e75893089cf0de03383d851ca)
-rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 37387e0fc542..bf9f3fc834d2 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -964,7 +964,7 @@ function(process_llvm_pass_plugins) "#include <array>\n\ struct ExtensionDescriptor {\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\ std::array<ExtensionDescriptor, ${llvm_static_extension_count}> AvailableExtensions{\n") |