summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 10:26:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 11:57:44 +0200
commit482ef1bfe95a32a6796ce5a3150f272845db7931 (patch)
tree9ac13cb3e96823a743c20822cc91d5929f40f570 /compilerplugins
parent1772daba6afa394e1081028825e4f96e6387d9a3 (diff)
loplugin:comparisonwithconstant in accessibility
Change-Id: I934c78ec8daec656ca656d5c784f80895abfd2e4 Reviewed-on: https://gerrit.libreoffice.org/37666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/comparisonwithconstant.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/compilerplugins/clang/comparisonwithconstant.cxx b/compilerplugins/clang/comparisonwithconstant.cxx
index 5f8deffaba28..b4ced1e70f23 100644
--- a/compilerplugins/clang/comparisonwithconstant.cxx
+++ b/compilerplugins/clang/comparisonwithconstant.cxx
@@ -30,16 +30,6 @@ public:
virtual void run() override
{
- /*
- StringRef fn( compiler.getSourceManager().getFileEntryForID(
- compiler.getSourceManager().getMainFileID())->getName() );
- if (fn == SRCDIR "/sd/source/ui/framework/factories/ChildWindowPane.cxx")
- return;
- if (fn == SRCDIR "/forms/source/component/Date.cxx")
- return;
- if (fn == SRCDIR "/forms/source/component/Time.cxx")
- return;
-*/
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}