[polly] r332814 - [polly] Drop nonexistant LLVM_PLUGIN_EXPORT macro from llvmGetPassPluginInfo()
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Sat May 19 12:16:35 PDT 2018
Author: lebedevri
Date: Sat May 19 12:16:35 2018
New Revision: 332814
URL: http://llvm.org/viewvc/llvm-project?rev=332814&view=rev
Log:
[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
Modified:
polly/trunk/lib/Support/RegisterPasses.cpp
Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=332814&r1=332813&r2=332814&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Sat May 19 12:16:35 2018
@@ -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};
More information about the llvm-commits
mailing list