Use V_FALLTHROUGH.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-08-26 21:21:42 +03:00
parent 98a5d8aadb
commit a5e0ace3a5
3 changed files with 7 additions and 28 deletions

View File

@ -118,50 +118,35 @@ void VPatternConverter::ApplyPatches()
ToV0_1_1(); ToV0_1_1();
const QString schema = XSDSchema(0x000101); const QString schema = XSDSchema(0x000101);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000101): case (0x000101):
{ {
ToV0_1_2(); ToV0_1_2();
const QString schema = XSDSchema(0x000102); const QString schema = XSDSchema(0x000102);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000102): case (0x000102):
{ {
ToV0_1_3(); ToV0_1_3();
const QString schema = XSDSchema(0x000103); const QString schema = XSDSchema(0x000103);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000103): case (0x000103):
{ {
ToV0_1_4(); ToV0_1_4();
const QString schema = XSDSchema(0x000104); const QString schema = XSDSchema(0x000104);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000104): case (0x000104):
{ {
ToV0_2_0(); ToV0_2_0();
const QString schema = XSDSchema(0x000200); const QString schema = XSDSchema(0x000200);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000200): case (0x000200):
break; break;

View File

@ -110,10 +110,7 @@ void VVITConverter::ApplyPatches()
ToV0_3_0(); ToV0_3_0();
const QString schema = XSDSchema(0x000300); const QString schema = XSDSchema(0x000300);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000300): case (0x000300):
break; break;

View File

@ -110,10 +110,7 @@ void VVSTConverter::ApplyPatches()
ToV0_4_0(); ToV0_4_0();
const QString schema = XSDSchema(0x000400); const QString schema = XSDSchema(0x000400);
ValidateXML(schema, fileName); ValidateXML(schema, fileName);
// continue conversion V_FALLTHROUGH
#ifdef Q_CC_CLANG
[[clang::fallthrough]];
#endif
} }
case (0x000400): case (0x000400):
break; break;