compilerplugins/clang/store/tutorial/tutorial1.cxx | 4 ++-- compilerplugins/clang/store/tutorial/tutorial1.hxx | 2 +- compilerplugins/clang/store/tutorial/tutorial2.cxx | 4 ++-- compilerplugins/clang/store/tutorial/tutorial2.hxx | 2 +- compilerplugins/clang/store/tutorial/tutorial3.cxx | 4 ++-- compilerplugins/clang/store/tutorial/tutorial3.hxx | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-)
New commits: commit 9f282bdd86d25dd8c01c01a3cadcc8fba599294f Author: Juan Picca <jumap...@gmail.com> Date: Wed Jul 23 00:02:35 2014 -0300 compilerplugins: Fix tutorials plugins Broken in commit 1f078fcaddd45bb074e4d0a4933db01f6e8b623e Change-Id: Ica93c3b9309b2ae4d973ccc34a84b5accac7472c Reviewed-on: https://gerrit.libreoffice.org/10478 Reviewed-by: Thomas Arnhold <tho...@arnhold.org> Tested-by: Thomas Arnhold <tho...@arnhold.org> diff --git a/compilerplugins/clang/store/tutorial/tutorial1.cxx b/compilerplugins/clang/store/tutorial/tutorial1.cxx index 63158e8..cd3f710 100644 --- a/compilerplugins/clang/store/tutorial/tutorial1.cxx +++ b/compilerplugins/clang/store/tutorial/tutorial1.cxx @@ -21,8 +21,8 @@ namespace loplugin { // Ctor, nothing special, pass the argument(s). -Tutorial1::Tutorial1( CompilerInstance& compiler ) - : Plugin( compiler ) +Tutorial1::Tutorial1( const InstantiationData& data ) + : Plugin( data ) { } diff --git a/compilerplugins/clang/store/tutorial/tutorial1.hxx b/compilerplugins/clang/store/tutorial/tutorial1.hxx index 9eebd64..365d925 100644 --- a/compilerplugins/clang/store/tutorial/tutorial1.hxx +++ b/compilerplugins/clang/store/tutorial/tutorial1.hxx @@ -26,7 +26,7 @@ class Tutorial1 { public: // Ctor, nothing special. - Tutorial1( CompilerInstance& compiler ); + Tutorial1( const InstantiationData& data ); // The function that will be called to perform the actual action. virtual void run() override; // Function from Clang, it will be called for every return statement in the source. diff --git a/compilerplugins/clang/store/tutorial/tutorial2.cxx b/compilerplugins/clang/store/tutorial/tutorial2.cxx index c6bee69..5d3a2d6 100644 --- a/compilerplugins/clang/store/tutorial/tutorial2.cxx +++ b/compilerplugins/clang/store/tutorial/tutorial2.cxx @@ -22,8 +22,8 @@ if( a == 1 ) namespace loplugin { -Tutorial2::Tutorial2( CompilerInstance& compiler ) - : Plugin( compiler ) +Tutorial2::Tutorial2( const InstantiationData& data ) + : Plugin( data ) { } diff --git a/compilerplugins/clang/store/tutorial/tutorial2.hxx b/compilerplugins/clang/store/tutorial/tutorial2.hxx index dde4da6..cb708d3 100644 --- a/compilerplugins/clang/store/tutorial/tutorial2.hxx +++ b/compilerplugins/clang/store/tutorial/tutorial2.hxx @@ -23,7 +23,7 @@ class Tutorial2 , public Plugin { public: - Tutorial2( CompilerInstance& compiler ); + Tutorial2( const InstantiationData& data ); virtual void run() override; // Will be called for every if statement. bool VisitIfStmt( const IfStmt* ifstmt ); diff --git a/compilerplugins/clang/store/tutorial/tutorial3.cxx b/compilerplugins/clang/store/tutorial/tutorial3.cxx index e0a9e94..183c3b2 100644 --- a/compilerplugins/clang/store/tutorial/tutorial3.cxx +++ b/compilerplugins/clang/store/tutorial/tutorial3.cxx @@ -22,8 +22,8 @@ namespace loplugin { // Ctor, pass arguments. -Tutorial3::Tutorial3( CompilerInstance& compiler, Rewriter& rewriter ) - : RewritePlugin( compiler, rewriter ) +Tutorial3::Tutorial3( const InstantiationData& data ) + : RewritePlugin( data ) { } diff --git a/compilerplugins/clang/store/tutorial/tutorial3.hxx b/compilerplugins/clang/store/tutorial/tutorial3.hxx index 27863b5..4261d1b 100644 --- a/compilerplugins/clang/store/tutorial/tutorial3.hxx +++ b/compilerplugins/clang/store/tutorial/tutorial3.hxx @@ -24,7 +24,7 @@ class Tutorial3 { public: // One more argument for ctor. - Tutorial3( CompilerInstance& compiler, Rewriter& rewriter ); + Tutorial3( const InstantiationData& data ); virtual void run() override; // Will be called for every if statement. bool VisitIfStmt( const IfStmt* ifstmt ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits