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
13758a3d
Kaydet (Commit)
13758a3d
authored
Nis 21, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SourceManager::isMacroArgExpansion has only one param in older Clang
Change-Id: I5aa4f7cca70b8196263613b92c018323152411a1
üst
c285d043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
salbool.cxx
compilerplugins/clang/salbool.cxx
+3
-3
No files found.
compilerplugins/clang/salbool.cxx
Dosyayı görüntüle @
13758a3d
...
...
@@ -284,12 +284,12 @@ bool SalBool::VisitCStyleCastExpr(CStyleCastExpr * expr) {
compiler
.
getSourceManager
().
getImmediateMacroCallerLoc
(
loc
));
if
(
!
isFromCIncludeFile
(
callLoc
))
{
SourceLocation
argLoc
;
if
(
compiler
.
getSourceManager
().
isMacroArgExpansion
(
expr
->
getLocStart
()
,
&
argLoc
)
expr
->
getLocStart
())
//TODO: check its the complete (first) arg to the macro
&&
(
Lexer
::
getImmediateMacroName
(
argLoc
,
compiler
.
getSourceManager
(),
expr
->
getLocStart
(),
compiler
.
getSourceManager
(),
compiler
.
getLangOpts
())
==
"CPPUNIT_ASSERT_EQUAL"
))
{
...
...
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