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
145b0de1
Kaydet (Commit)
145b0de1
authored
Tem 28, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix for running externandnotdefined plugin on Ubuntu
Change-Id: I00804b2dd63df44478a14a3eaf2fdcd4e4ce5d09
üst
a97457db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
externandnotdefined.cxx
compilerplugins/clang/externandnotdefined.cxx
+1
-2
No files found.
compilerplugins/clang/externandnotdefined.cxx
Dosyayı görüntüle @
145b0de1
...
...
@@ -54,8 +54,7 @@ bool ExternAndNotDefined::VisitFunctionDecl(const FunctionDecl * functionDecl) {
if
(
functionName
==
"gdk_x11_screen_get_screen_number"
)
{
return
true
;
}
SourceLocation
spellingLocation
=
compiler
.
getSourceManager
().
getSpellingLoc
(
functionDecl
->
getLocation
());
if
(
!
compat
::
isInMainFile
(
compiler
.
getSourceManager
(),
spellingLocation
))
{
if
(
!
compat
::
isInMainFile
(
compiler
.
getSourceManager
(),
functionDecl
->
getLocation
()))
{
return
true
;
}
StringRef
fileName
{
compiler
.
getSourceManager
().
getFilename
(
functionDecl
->
getLocation
())
};
...
...
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