diff options
Diffstat (limited to 'compilerplugins')
-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(); |