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
f7e335dd
Kaydet (Commit)
f7e335dd
authored
Şub 14, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
const improvement
Change-Id: I03815f33117a2927b1882d221f159a5de8d3ba78
üst
4eb7f391
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
plugin.cxx
compilerplugins/clang/plugin.cxx
+1
-1
plugin.hxx
compilerplugins/clang/plugin.hxx
+1
-1
No files found.
compilerplugins/clang/plugin.cxx
Dosyayı görüntüle @
f7e335dd
...
@@ -29,7 +29,7 @@ Plugin::Plugin( const InstantiationData& data )
...
@@ -29,7 +29,7 @@ Plugin::Plugin( const InstantiationData& data )
{
{
}
}
DiagnosticBuilder
Plugin
::
report
(
DiagnosticsEngine
::
Level
level
,
StringRef
message
,
SourceLocation
loc
)
DiagnosticBuilder
Plugin
::
report
(
DiagnosticsEngine
::
Level
level
,
StringRef
message
,
SourceLocation
loc
)
const
{
{
return
handler
.
report
(
level
,
name
,
message
,
compiler
,
loc
);
return
handler
.
report
(
level
,
name
,
message
,
compiler
,
loc
);
}
}
...
...
compilerplugins/clang/plugin.hxx
Dosyayı görüntüle @
f7e335dd
...
@@ -62,7 +62,7 @@ class Plugin
...
@@ -62,7 +62,7 @@ class Plugin
// Returns location right after the end of the token that starts at the given location.
// Returns location right after the end of the token that starts at the given location.
SourceLocation
locationAfterToken
(
SourceLocation
location
);
SourceLocation
locationAfterToken
(
SourceLocation
location
);
protected
:
protected
:
DiagnosticBuilder
report
(
DiagnosticsEngine
::
Level
level
,
StringRef
message
,
SourceLocation
loc
=
SourceLocation
());
DiagnosticBuilder
report
(
DiagnosticsEngine
::
Level
level
,
StringRef
message
,
SourceLocation
loc
=
SourceLocation
())
const
;
bool
ignoreLocation
(
SourceLocation
loc
);
bool
ignoreLocation
(
SourceLocation
loc
);
bool
ignoreLocation
(
const
Decl
*
decl
);
bool
ignoreLocation
(
const
Decl
*
decl
);
bool
ignoreLocation
(
const
Stmt
*
stmt
);
bool
ignoreLocation
(
const
Stmt
*
stmt
);
...
...
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