diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-19 19:16:35 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-19 19:16:35 +0000 |
commit | 53d09dde83fa0b3a9bca295454fab37b0204383e (patch) | |
tree | 6d110373326dcdd3509fe6cfd34f0d56dc994676 /polly | |
parent | 72f4f81ff009c3b6dcfa34610c49423f485bf47a (diff) |
[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
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Support/RegisterPasses.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index 2ce0f63e0f5..975ec57460c 100644 --- a/polly/lib/Support/RegisterPasses.cpp +++ b/polly/lib/Support/RegisterPasses.cpp @@ -706,7 +706,7 @@ void RegisterPollyPasses(PassBuilder &PB) { } // namespace polly // Plugin Entrypoint: -extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK LLVM_PLUGIN_EXPORT +extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK llvmGetPassPluginInfo() { return {LLVM_PLUGIN_API_VERSION, "Polly", LLVM_VERSION_STRING, polly::RegisterPollyPasses}; |