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
5a610d1f
Kaydet (Commit)
5a610d1f
authored
Ara 21, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
quieten the clang fallthrough warnings
Change-Id: I73f068971a6908153d887e34425076e6194c657d
üst
5a61fa1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
sourceprovider-parser.y
unoidl/source/sourceprovider-parser.y
+10
-10
No files found.
unoidl/source/sourceprovider-parser.y
Dosyayı görüntüle @
5a610d1f
...
...
@@ -334,7 +334,7 @@ Found findEntity(
break;
}
assert(e->entity.is());
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_EXTERNAL:
if (e->entity->getSort() == unoidl::Entity::SORT_TYPEDEF) {
if (typedefed != nullptr) {
...
...
@@ -449,7 +449,7 @@ Found findEntity(
return FOUND_ERROR;
}
assert(e->entity.is());
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_EXTERNAL:
switch (e->entity->getSort()) {
case unoidl::Entity::SORT_ENUM_TYPE:
...
...
@@ -679,7 +679,7 @@ Found findEntity(
break;
}
assert(e->entity.is());
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_EXTERNAL:
switch (e->entity->getSort()) {
case unoidl::Entity::SORT_ENUM_TYPE:
...
...
@@ -745,7 +745,7 @@ Found findEntity(
return FOUND_ERROR;
}
assert(e->entity.is());
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_EXTERNAL:
if (e->entity->getSort()
== unoidl::Entity::SORT_POLYMORPHIC_STRUCT_TYPE_TEMPLATE)
...
...
@@ -776,7 +776,7 @@ Found findEntity(
t = unoidl::detail::SourceProviderType(n, e, args);
break;
}
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_INTERFACE_DECL:
case unoidl::detail::SourceProviderEntity::KIND_PUBLISHED_INTERFACE_DECL:
error(
...
...
@@ -3806,7 +3806,7 @@ type:
break;
}
assert(ent->entity.is());
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_EXTERNAL:
if (data->publishedContext
&& ent->entity->getSort() != unoidl::Entity::SORT_MODULE
...
...
@@ -3853,7 +3853,7 @@ type:
break;
case unoidl::Entity::SORT_TYPEDEF:
assert(false && "this cannot happen");
// fall through
SAL_FALLTHROUGH;
default:
break;
}
...
...
@@ -3866,7 +3866,7 @@ type:
+ " used in published context"));
YYERROR;
}
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_PUBLISHED_INTERFACE_DECL:
$$ = new unoidl::detail::SourceProviderType(
unoidl::detail::SourceProviderType::TYPE_INTERFACE, name,
...
...
@@ -3918,7 +3918,7 @@ type:
break;
}
assert(ent->entity.is());
// fall through
SAL_FALLTHROUGH;
case unoidl::detail::SourceProviderEntity::KIND_EXTERNAL:
if (ent->entity->getSort()
== unoidl::Entity::SORT_POLYMORPHIC_STRUCT_TYPE_TEMPLATE)
...
...
@@ -4445,7 +4445,7 @@ bool parse(OUString const & uri, SourceProviderScannerData * data) {
break;
default:
assert(false);
// fall through
SAL_FALLTHROUGH;
case 1:
throw FileFormatException(
uri,
...
...
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