aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2020-11-17 09:24:38 -0800
committerArthur Eubanks <aeubanks@google.com>2020-11-17 17:24:47 -0800
commit49439ff6c09ad5afc0bc2b2ecae5bb6e6a70455a (patch)
treeb1b3de1499f7be8910d70a3ee79c212937c9b9bc /clang/lib/CodeGen/CodeGenModule.cpp
parent67e0f791c93a23d0a523f3f05082c020f7c9109f (diff)
downloadllvm-49439ff6c09ad5afc0bc2b2ecae5bb6e6a70455a.zip
llvm-49439ff6c09ad5afc0bc2b2ecae5bb6e6a70455a.tar.gz
llvm-49439ff6c09ad5afc0bc2b2ecae5bb6e6a70455a.tar.bz2
[CMake] Fix ExtensionDependencies.inc with multiple extensions
When polly is enabled and LLVM_BYE_LINK_INTO_TOOLS=ON is on, ExtensionDependencies.inc does not compile. $ ninja tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o tools/llvm-config/ExtensionDependencies.inc:8:1: error: excess elements in struct initializer {{"Bye", {"Bye",nullptr}}}, ExtensionDependencies.inc pre-patch: std::array<ExtensionDescriptor, 2> AvailableExtensions{ {{"Polly", {"support", "core", ...,nullptr}}}, {{"Bye", {"Bye",nullptr}}}, }; ExtensionDependencies.inc with this patch: std::array<ExtensionDescriptor, 2> AvailableExtensions{ ExtensionDescriptor{"Polly", {"support", "core", ...,nullptr}}, ExtensionDescriptor{"Bye", {"Bye",nullptr}}, }; Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D91641
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions