projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a466e4b
)
Do not declare compiler extension member as const
author
serge-sans-paille
<sguelton@redhat.com>
Fri, 24 Apr 2020 09:44:42 +0000
(11:44 +0200)
committer
serge-sans-paille
<sguelton@redhat.com>
Fri, 24 Apr 2020 09:44:42 +0000
(11:44 +0200)
It keeps them default constructible.
llvm/cmake/modules/AddLLVM.cmake
patch
|
blob
|
history
diff --git
a/llvm/cmake/modules/AddLLVM.cmake
b/llvm/cmake/modules/AddLLVM.cmake
index
ba720d4
..
ea4967d
100644
(file)
--- a/
llvm/cmake/modules/AddLLVM.cmake
+++ b/
llvm/cmake/modules/AddLLVM.cmake
@@
-969,7
+969,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")