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
92da39d5
Kaydet (Commit)
92da39d5
authored
Kas 16, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
update couple of loplugins for move constructors
Change-Id: I82140569a3e09225065d721e4aeac5c5fe93bc45
üst
ac4f8463
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
expandablemethods.cxx
compilerplugins/clang/expandablemethods.cxx
+3
-1
unusedmethods.cxx
compilerplugins/clang/unusedmethods.cxx
+3
-1
No files found.
compilerplugins/clang/expandablemethods.cxx
Dosyayı görüntüle @
92da39d5
...
...
@@ -306,7 +306,9 @@ bool ExpandableMethods::isCalleeFunctionInteresting(const FunctionDecl* function
if
(
functionDecl
->
isDeleted
()
||
functionDecl
->
isDefaulted
())
{
return
false
;
}
if
(
isa
<
CXXConstructorDecl
>
(
functionDecl
)
&&
dyn_cast
<
CXXConstructorDecl
>
(
functionDecl
)
->
isCopyConstructor
())
{
if
(
isa
<
CXXConstructorDecl
>
(
functionDecl
)
&&
dyn_cast
<
CXXConstructorDecl
>
(
functionDecl
)
->
isCopyOrMoveConstructor
())
{
return
false
;
}
if
(
!
functionDecl
->
getLocation
().
isValid
()
||
ignoreLocation
(
functionDecl
))
{
...
...
compilerplugins/clang/unusedmethods.cxx
Dosyayı görüntüle @
92da39d5
...
...
@@ -296,7 +296,9 @@ bool UnusedMethods::VisitFunctionDecl( const FunctionDecl* functionDecl )
if
(
functionDecl
->
isDeleted
()
||
functionDecl
->
isDefaulted
())
{
return
true
;
}
if
(
isa
<
CXXConstructorDecl
>
(
functionDecl
)
&&
dyn_cast
<
CXXConstructorDecl
>
(
functionDecl
)
->
isCopyConstructor
())
{
if
(
isa
<
CXXConstructorDecl
>
(
functionDecl
)
&&
dyn_cast
<
CXXConstructorDecl
>
(
functionDecl
)
->
isCopyOrMoveConstructor
())
{
return
true
;
}
if
(
!
canonicalFunctionDecl
->
getLocation
().
isValid
()
||
ignoreLocation
(
canonicalFunctionDecl
))
{
...
...
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