Skip to content

Commit df4fed6

Browse files
committed
[polly] Drop nonexistant LLVM_PLUGIN_EXPORT macro from llvmGetPassPluginInfo()
Fixes build: /build/polly/lib/Support/RegisterPasses.cpp:709:80: error: expected ';' after top level declarator extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK LLVM_PLUGIN_EXPORT ^ ; Was missed in rL332796 / D47082 llvm-svn: 332814
1 parent 69ba061 commit df4fed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polly/lib/Support/RegisterPasses.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ void RegisterPollyPasses(PassBuilder &PB) {
706706
} // namespace polly
707707

708708
// Plugin Entrypoint:
709-
extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK LLVM_PLUGIN_EXPORT
709+
extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK
710710
llvmGetPassPluginInfo() {
711711
return {LLVM_PLUGIN_API_VERSION, "Polly", LLVM_VERSION_STRING,
712712
polly::RegisterPollyPasses};

0 commit comments

Comments
 (0)