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
5c142dd3
Kaydet (Commit)
5c142dd3
authored
Kas 11, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:mergeclass, fix and update results
Change-Id: I0660833db69604c5c4dd3c5826f1baac3086e052
üst
266abd09
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mergeclasses.cxx
compilerplugins/clang/mergeclasses.cxx
+4
-3
mergeclasses.results
compilerplugins/clang/mergeclasses.results
+0
-0
No files found.
compilerplugins/clang/mergeclasses.cxx
Dosyayı görüntüle @
5c142dd3
...
@@ -120,11 +120,12 @@ bool MergeClasses::VisitCXXConstructExpr( const CXXConstructExpr* pCXXConstructE
...
@@ -120,11 +120,12 @@ bool MergeClasses::VisitCXXConstructExpr( const CXXConstructExpr* pCXXConstructE
if
(
ignoreLocation
(
pCXXConstructExpr
))
{
if
(
ignoreLocation
(
pCXXConstructExpr
))
{
return
true
;
return
true
;
}
}
const
CXXConstructorDecl
*
pCXXConstructorDecl
=
pCXXConstructExpr
->
getConstructor
();
// ignore calls when a sub-class is constructing it's superclass
const
CXXRecordDecl
*
pParentCXXRecordDecl
=
pCXXConstructorDecl
->
getParent
();
if
(
pCXXConstructExpr
->
getConstructionKind
()
!=
CXXConstructExpr
::
ConstructionKind
::
CK_Complete
)
{
if
(
ignoreLocation
(
pParentCXXRecordDecl
))
{
return
true
;
return
true
;
}
}
const
CXXConstructorDecl
*
pCXXConstructorDecl
=
pCXXConstructExpr
->
getConstructor
();
const
CXXRecordDecl
*
pParentCXXRecordDecl
=
pCXXConstructorDecl
->
getParent
();
std
::
string
s
=
pParentCXXRecordDecl
->
getQualifiedNameAsString
();
std
::
string
s
=
pParentCXXRecordDecl
->
getQualifiedNameAsString
();
addToInstantiatedSet
(
s
);
addToInstantiatedSet
(
s
);
return
true
;
return
true
;
...
...
compilerplugins/clang/mergeclasses.results
Dosyayı görüntüle @
5c142dd3
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