From: serge-sans-paille Date: Fri, 24 Apr 2020 09:44:42 +0000 (+0200) Subject: Do not declare compiler extension member as const X-Git-Tag: llvmorg-12-init~7978 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e307eeba0137700e75893089cf0de03383d851ca;p=platform%2Fupstream%2Fllvm.git Do not declare compiler extension member as const It keeps them default constructible. --- diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index ba720d4..ea4967d 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -969,7 +969,7 @@ function(process_llvm_pass_plugins) "#include \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 AvailableExtensions{\n")