Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
14421f20
Kaydet (Commit)
14421f20
authored
Eki 09, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
improve the mergeclasses loplugin
Change-Id: Icbb873c4ac15ef146b126b97f45eabdc53cd4c1a
üst
527a9a11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mergeclasses.py
compilerplugins/clang/mergeclasses.py
+3
-2
mergeclasses.results
compilerplugins/clang/mergeclasses.results
+0
-0
No files found.
compilerplugins/clang/mergeclasses.py
Dosyayı görüntüle @
14421f20
...
...
@@ -25,7 +25,8 @@ with open("mergeclasses.log") as txt:
idx1
=
line
.
find
(
"
\t
"
)
idx2
=
line
.
find
(
"
\t
"
,
idx1
+
1
)
clazzName
=
line
[
idx1
+
1
:
idx2
]
fileName
=
line
[
idx2
+
1
:
len
(
line
)
-
1
]
# the +2 is so we skip the leading /
fileName
=
line
[
idx2
+
2
:
len
(
line
)
-
1
]
definitionSet
.
add
(
clazzName
)
definitionToFileDict
[
clazzName
]
=
fileName
...
...
@@ -63,7 +64,7 @@ for clazz in sorted(definitionSet - instantiatedSet):
continue
# ignore base class that contain the word "mutex", they are normally there to
# help with the WeakComponentImpl template magic
if
clazz
.
find
(
"mutex"
)
!=
-
1
or
clazz
.
find
(
"Mutex"
)
!=
-
1
:
if
(
"mutex"
in
clazz
)
or
(
"Mutex"
in
clazz
)
:
continue
otherclazz
=
next
(
iter
(
parentChildDict
[
clazz
]))
# exclude combinations that span modules because we often use those to make cross-module dependencies more manageable.
...
...
compilerplugins/clang/mergeclasses.results
Dosyayı görüntüle @
14421f20
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment