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
06312f82
Kaydet (Commit)
06312f82
authored
Tem 24, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adapt to PPCallbacks.h changes on Clang trunk towards 3.4
Change-Id: I5611ffd36f9c6d1560a6ada6118a1efaeb6dc522
üst
7fd81244
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
checkconfigmacros.cxx
compilerplugins/clang/checkconfigmacros.cxx
+7
-1
No files found.
compilerplugins/clang/checkconfigmacros.cxx
Dosyayı görüntüle @
06312f82
...
...
@@ -43,7 +43,11 @@ class CheckConfigMacros
virtual
void
MacroUndefined
(
const
Token
&
macroToken
,
const
MacroDirective
*
info
)
override
;
virtual
void
Ifdef
(
SourceLocation
location
,
const
Token
&
macroToken
,
const
MacroDirective
*
info
)
override
;
virtual
void
Ifndef
(
SourceLocation
location
,
const
Token
&
macroToken
,
const
MacroDirective
*
info
)
override
;
#if __clang_major__ == 3 && __clang_minor__ < 4
virtual
void
Defined
(
const
Token
&
macroToken
,
const
MacroDirective
*
info
)
override
;
#else
virtual
void
Defined
(
const
Token
&
macroToken
,
const
MacroDirective
*
info
,
SourceRange
Range
)
override
;
#endif
#endif
private
:
void
checkMacro
(
const
Token
&
macroToken
,
SourceLocation
location
);
...
...
@@ -109,8 +113,10 @@ void CheckConfigMacros::Ifndef( SourceLocation location, const Token& macroToken
#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 3
void
CheckConfigMacros
::
Defined
(
const
Token
&
macroToken
)
#el
se
#el
if __clang_major__ == 3 && __clang_minor__ < 4
void
CheckConfigMacros
::
Defined
(
const
Token
&
macroToken
,
const
MacroDirective
*
)
#else
void
CheckConfigMacros
::
Defined
(
const
Token
&
macroToken
,
const
MacroDirective
*
,
SourceRange
)
#endif
{
checkMacro
(
macroToken
,
macroToken
.
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