diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 10:26:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 11:57:44 +0200 |
commit | 482ef1bfe95a32a6796ce5a3150f272845db7931 (patch) | |
tree | 9ac13cb3e96823a743c20822cc91d5929f40f570 /compilerplugins/clang | |
parent | 1772daba6afa394e1081028825e4f96e6387d9a3 (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/clang')
-rw-r--r-- | compilerplugins/clang/comparisonwithconstant.cxx | 10 |
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()); } |