Skip to content

Commit 2f6b23d

Browse files
serge-sans-pailletstellar
serge-sans-paille
authored andcommitted
Do not declare compiler extension member as const
It keeps them default constructible. (cherry picked from commit e307eeb)
1 parent 5f510e5 commit 2f6b23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ function(process_llvm_pass_plugins)
964964
"#include <array>\n\
965965
struct ExtensionDescriptor {\n\
966966
const char* Name;\n\
967-
const char* const RequiredLibraries[1 + 1 + ${llvm_plugin_max_deps_length}];\n\
967+
const char* RequiredLibraries[1 + 1 + ${llvm_plugin_max_deps_length}];\n\
968968
};\n\
969969
std::array<ExtensionDescriptor, ${llvm_static_extension_count}> AvailableExtensions{\n")
970970

0 commit comments

Comments
 (0)