summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/pluginhandler.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-19 21:33:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-20 08:31:30 +0200
commit15dce20e8b97dbd0179f01910ca4d0027e80ff4e (patch)
treebc0a374f688bfed557c6428310d2cf04239225d1 /compilerplugins/clang/pluginhandler.hxx
parenttdf#87808 Add missing tooltips to Media Playback toolbar (diff)
downloadcore-15dce20e8b97dbd0179f01910ca4d0027e80ff4e.tar.gz
core-15dce20e8b97dbd0179f01910ca4d0027e80ff4e.zip
Fully ignore inappropriately named loplugins in unit-test mode
...even if they implement PPCallbacks, so filtering them out in HandleTranslationUnit was ineffective. Change-Id: I9df8103a50739f3176e6d63accfd0334da7faa9a Reviewed-on: https://gerrit.libreoffice.org/43575 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/pluginhandler.hxx')
-rw-r--r--compilerplugins/clang/pluginhandler.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx
index 9c3d0a49c839..63210fa11df4 100644
--- a/compilerplugins/clang/pluginhandler.hxx
+++ b/compilerplugins/clang/pluginhandler.hxx
@@ -43,6 +43,7 @@ private:
void createPlugins( std::set< std::string > rewriters );
DiagnosticBuilder report( DiagnosticsEngine::Level level, StringRef message, SourceLocation loc = SourceLocation());
CompilerInstance& compiler;
+ StringRef const mainFileName;
Rewriter rewriter;
std::set< SourceLocation > removals;
std::string scope;