[Libreoffice-commits] core.git: bin/find-unneeded-includes
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 9 11:49:48 UTC 2019
bin/find-unneeded-includes | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit a387c18f726958b7557a9a75a00b60d9fb3281d7
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Mon Apr 8 07:44:30 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Apr 9 13:49:27 2019 +0200
find-unneeded-includes: fix tuple default items in debugStl
So it gives no false positives as currently seen in e.g.
include/sfx2/charmapcontrol.hxx
include/sfx2/docinsert.hxx
Change-Id: I087a949875df20c4ef25a10c80571bb57334cf80
Reviewed-on: https://gerrit.libreoffice.org/70400
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index e20888b34042..da143cde3249 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -40,15 +40,15 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
# Avoid debug STL.
debugStl = {
- "array": ("debug/array"),
- "bitset": ("debug/bitset"),
- "deque": ("debug/deque"),
- "list": ("debug/list"),
- "map": ("debug/map.h"),
+ "array": ("debug/array", ),
+ "bitset": ("debug/bitset", ),
+ "deque": ("debug/deque", ),
+ "list": ("debug/list", ),
+ "map": ("debug/map.h", ),
"set": ("debug/set.h", "debug/multiset.h"),
- "unordered_map": ("debug/unordered_map"),
- "unordered_set": ("debug/unordered_set"),
- "vector": ("debug/vector"),
+ "unordered_map": ("debug/unordered_map", ),
+ "unordered_set": ("debug/unordered_set", ),
+ "vector": ("debug/vector", ),
}
for k, values in debugStl.items():
if include == k:
More information about the Libreoffice-commits
mailing list