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
93f69ad7
Kaydet (Commit)
93f69ad7
authored
Eki 03, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wheader-hygiene
Change-Id: Icac29e4f433b1e72603e52a0561e60cb8a7cfdef
üst
703009d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
collectdircontent.cxx
soltools/mkdepend/collectdircontent.cxx
+2
-0
collectdircontent.hxx
soltools/mkdepend/collectdircontent.hxx
+6
-8
No files found.
soltools/mkdepend/collectdircontent.cxx
Dosyayı görüntüle @
93f69ad7
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include "collectdircontent.hxx"
#include "collectdircontent.hxx"
using
namespace
std
;
PathFilePair
IncludesCollection
::
split_path
(
const
string
&
filePath
)
{
PathFilePair
IncludesCollection
::
split_path
(
const
string
&
filePath
)
{
string
sepU
=
"/"
;
string
sepU
=
"/"
;
string
sepW
=
"
\\
"
;
string
sepW
=
"
\\
"
;
...
...
soltools/mkdepend/collectdircontent.hxx
Dosyayı görüntüle @
93f69ad7
...
@@ -17,22 +17,20 @@
...
@@ -17,22 +17,20 @@
#include <iostream>
#include <iostream>
using
namespace
std
;
typedef
std
::
set
<
std
::
string
>
DirContent
;
typedef
std
::
map
<
std
::
string
,
DirContent
>
DirMap
;
typedef
set
<
string
>
DirContent
;
typedef
map
<
string
,
DirContent
>
DirMap
;
typedef
DirMap
::
value_type
EntriesPair
;
typedef
DirMap
::
value_type
EntriesPair
;
typedef
pair
<
string
,
string
>
PathFilePair
;
typedef
std
::
pair
<
std
::
string
,
std
::
string
>
PathFilePair
;
struct
IncludesCollection
{
struct
IncludesCollection
{
private
:
private
:
DirMap
allIncludes
;
DirMap
allIncludes
;
PathFilePair
split_path
(
const
string
&
filePath
);
PathFilePair
split_path
(
const
st
d
::
st
ring
&
filePath
);
void
add_to_collection
(
const
string
&
dirPath
);
void
add_to_collection
(
const
st
d
::
st
ring
&
dirPath
);
public
:
public
:
bool
exists
(
string
filePath
);
bool
exists
(
std
::
string
filePath
);
};
};
#else
#else
...
...
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