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
294ad907
Kaydet (Commit)
294ad907
authored
Nis 24, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update location of log-areas.dox
Change-Id: If54a3d7047f13ae9c9345c21737a89afee645403
üst
81f077bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
sallogareas.cxx
compilerplugins/clang/sallogareas.cxx
+3
-3
com_GCC_defs.mk
solenv/gbuild/platform/com_GCC_defs.mk
+1
-1
No files found.
compilerplugins/clang/sallogareas.cxx
Dosyayı görüntüle @
294ad907
...
...
@@ -20,7 +20,7 @@ namespace loplugin
/*
This is a compile check.
Check area used in SAL_INFO/SAL_WARN macros against the list in
sal/inc
/sal/log-areas.dox and
Check area used in SAL_INFO/SAL_WARN macros against the list in
include
/sal/log-areas.dox and
report if the area is not listed there. The fix is either use a proper area or add it to the list
if appropriate.
*/
...
...
@@ -104,14 +104,14 @@ void SalLogAreas::checkArea( StringRef area, SourceLocation location )
readLogAreas
();
if
(
!
logAreas
.
count
(
area
))
{
report
(
DiagnosticsEngine
::
Warning
,
"unknown log area '%0' (check or extend
sal/inc
/sal/log-areas.dox)"
,
report
(
DiagnosticsEngine
::
Warning
,
"unknown log area '%0' (check or extend
include
/sal/log-areas.dox)"
,
location
)
<<
area
;
}
}
void
SalLogAreas
::
readLogAreas
()
{
ifstream
is
(
SRCDIR
"/
sal/inc
/sal/log-areas.dox"
);
ifstream
is
(
SRCDIR
"/
include
/sal/log-areas.dox"
);
while
(
is
.
good
())
{
string
line
;
...
...
solenv/gbuild/platform/com_GCC_defs.mk
Dosyayı görüntüle @
294ad907
...
...
@@ -163,7 +163,7 @@ gb_COMPILER_PLUGINS += -Xclang -plugin-arg-loplugin -Xclang --scope=$(UPDATE_FIL
endif
endif
# extra EF variable to make the command line shorter (just like is done with $(SRCDIR) etc.)
gb_COMPILER_PLUGINS_SETUP := EF=$(SRCDIR)/
sal/inc
/sal/log-areas.dox && ICECC_EXTRAFILES=$$EF CCACHE_EXTRAFILES=$$EF
gb_COMPILER_PLUGINS_SETUP := EF=$(SRCDIR)/
include
/sal/log-areas.dox && ICECC_EXTRAFILES=$$EF CCACHE_EXTRAFILES=$$EF
else
gb_COMPILER_PLUGINS :=
gb_COMPILER_PLUGINS_SETUP :=
...
...
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