diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-10 17:49:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-10 17:49:45 +0100 |
commit | 57a505e8e9f3fe655ad0d4e812be4fd3c102bcc1 (patch) | |
tree | 9f83a4d8723bc060c2671896bc0e75e0d3cf6aae | |
parent | 2d732b498bab244cde6978e9389511a940101995 (diff) |
Remove unnecessary blacklists from loplugin:stringconstant
Change-Id: I866a421a2b3e8830aaa7096adaef945a2264195e
-rw-r--r-- | compilerplugins/clang/stringconstant.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx index 5bf439200d61..d7f34f9a7fa5 100644 --- a/compilerplugins/clang/stringconstant.cxx +++ b/compilerplugins/clang/stringconstant.cxx @@ -1062,20 +1062,6 @@ bool StringConstant::VisitCXXConstructExpr(CXXConstructExpr const * expr) { return true; } - StringRef file(compiler.getSourceManager().getFilename( - compiler.getSourceManager().getSpellingLoc(expr->getLocStart()))); - if (file == SRCDIR "/sal/qa/rtl/oustringbuffer/test_oustringbuffer_tostring.cxx") - { - return true; - } - // there is some template magic here I don't know how to work around - if (file.startswith(SRCDIR "/connectivity")) - { - return true; - } - if (isInUnoIncludeFile(expr->getLocStart())) { - return true; - } auto consDecl = expr->getConstructor(); for (unsigned i = 0; i != consDecl->getNumParams(); ++i) { auto t = consDecl->getParamDecl(i)->getType(); |