Let prefix arguments to hasPathnamePrefix end in slash
...for better precision Change-Id: I5f273b7c66ba931647805c415622b5ac767ff987
This commit is contained in:
@@ -117,17 +117,17 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
|
||||
return true;
|
||||
}
|
||||
// the unotools and svl config code stuff is doing weird stuff with a reference-counted statically allocated pImpl class
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/unotools")) {
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/unotools/")) {
|
||||
return true;
|
||||
}
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/svl")) {
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/svl/")) {
|
||||
return true;
|
||||
}
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/framework") || loplugin::hasPathnamePrefix(aFilename, SRCDIR "/framework")) {
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/framework/") || loplugin::hasPathnamePrefix(aFilename, SRCDIR "/framework/")) {
|
||||
return true;
|
||||
}
|
||||
// there is some odd stuff happening here I don't fully understand, leave it for now
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/canvas") || loplugin::hasPathnamePrefix(aFilename, SRCDIR "/canvas")) {
|
||||
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/canvas/") || loplugin::hasPathnamePrefix(aFilename, SRCDIR "/canvas/")) {
|
||||
return true;
|
||||
}
|
||||
// classes that have static data and some kind of weird reference-counting trick in its constructor
|
||||
|
Reference in New Issue
Block a user