Skip to content

Commit e307eeb

Browse files
author
serge-sans-paille
committed
Do not declare compiler extension member as const
It keeps them default constructible.
1 parent a466e4b commit e307eeb

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
@@ -969,7 +969,7 @@ function(process_llvm_pass_plugins)
969969
"#include <array>\n\
970970
struct ExtensionDescriptor {\n\
971971
const char* Name;\n\
972-
const char* const RequiredLibraries[1 + 1 + ${llvm_plugin_max_deps_length}];\n\
972+
const char* RequiredLibraries[1 + 1 + ${llvm_plugin_max_deps_length}];\n\
973973
};\n\
974974
std::array<ExtensionDescriptor, ${llvm_static_extension_count}> AvailableExtensions{\n")
975975

0 commit comments

Comments
 (0)