diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-12 10:23:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-12 10:29:38 +0200 |
commit | fc80919370169748864cbbeee8b0c9bbc5d82376 (patch) | |
tree | 7d4e924b8cbd3d644f03c4e54a6ee3cdcffae934 /compilerplugins/clang/pluginhandler.hxx | |
parent | acd16c7e29c1619986d4d8b3b520da089ba34660 (diff) |
fix loplugin rewriter source range checking
after
commit 94ab8e4360a2a7a932656e99f718244321d0f923
Date: Fri Feb 9 15:28:41 2018 +0200
improve loplugin rewriter double source modification detection
Change-Id: Ibf0a64fe4cc3dd6bf5ae16672b3d748a842196e4
Diffstat (limited to 'compilerplugins/clang/pluginhandler.hxx')
-rw-r--r-- | compilerplugins/clang/pluginhandler.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx index 05e8ce3502c7..890b0cf53c3d 100644 --- a/compilerplugins/clang/pluginhandler.hxx +++ b/compilerplugins/clang/pluginhandler.hxx @@ -60,7 +60,7 @@ public: // If we overlap with a previous area we modified, we cannot perform this change // without corrupting the source bool checkOverlap(SourceRange range); - bool addSourceModification(SourceRange range); + void addSourceModification(SourceRange range); private: void handleOption( const std::string& option ); void createPlugins( std::set< std::string > rewriters ); |