Changeset 65948 in vbox
- Timestamp:
- Mar 6, 2017 12:59:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r63430 r65948 693 693 RTAssertPanic(); \ 694 694 break; \ 695 } else do {} while (0) 695 } else \ 696 break 696 697 #else 697 698 # define AssertBreak(expr) \ … … 967 968 RTAssertPanic(); \ 968 969 break; \ 969 } else do {} while (0) 970 } else \ 971 break 970 972 #else 971 973 # define AssertMsgBreak(expr, a) \ … … 995 997 stmt; \ 996 998 break; \ 997 } else do {} while (0) 999 } else \ 1000 break 998 1001 #else 999 1002 # define AssertMsgBreakStmt(expr, a, stmt) \ … … 1004 1007 stmt; \ 1005 1008 break; \ 1006 } else do {} while (0) 1009 } else \ 1010 break 1007 1011 #endif 1008 1012 … … 1125 1129 RTAssertPanic(); \ 1126 1130 break; \ 1127 } else do {} while (0) 1131 } else \ 1132 break 1128 1133 #else 1129 1134 # define AssertFailedBreak() \ 1130 1135 if (1) \ 1131 1136 break; \ 1132 else do {} while (0) 1137 else \ 1138 break 1133 1139 #endif 1134 1140 … … 1146 1152 stmt; \ 1147 1153 break; \ 1148 } else do {} while (0) 1154 } else \ 1155 break 1149 1156 #else 1150 1157 # define AssertFailedBreakStmt(stmt) \ … … 1152 1159 stmt; \ 1153 1160 break; \ 1154 } else do {} while (0) 1161 } else \ 1162 break 1155 1163 #endif 1156 1164 … … 1226 1234 RTAssertPanic(); \ 1227 1235 break; \ 1228 } else do {} while (0) 1236 } else \ 1237 break 1229 1238 #else 1230 1239 # define AssertMsgFailedBreak(a) \ 1231 1240 if (1) \ 1232 1241 break; \ 1233 else do {} while (0) 1242 else \ 1243 break 1234 1244 #endif 1235 1245 … … 1249 1259 stmt; \ 1250 1260 break; \ 1251 } else do {} while (0) 1261 } else \ 1262 break 1252 1263 #else 1253 1264 # define AssertMsgFailedBreakStmt(a, stmt) \ … … 1255 1266 stmt; \ 1256 1267 break; \ 1257 } else do {} while (0) 1268 } else \ 1269 break 1258 1270 #endif 1259 1271 … … 1362 1374 break; \ 1363 1375 } \ 1364 else do {} while (0) 1376 else \ 1377 break 1365 1378 1366 1379 /** @def AssertLogRelBreakStmt … … 1380 1393 stmt; \ 1381 1394 break; \ 1382 } else do {} while (0) 1395 } else \ 1396 break 1383 1397 1384 1398 /** @def AssertLogRelMsg … … 1505 1519 break; \ 1506 1520 } \ 1507 else do {} while (0) 1521 else \ 1522 break 1508 1523 1509 1524 /** @def AssertLogRelMsgBreakStmt … … 1525 1540 stmt; \ 1526 1541 break; \ 1527 } else do {} while (0) 1542 } else \ 1543 break 1528 1544 1529 1545 /** @def AssertLogRelFailed … … 1571 1587 RTAssertPanic(); \ 1572 1588 break; \ 1573 } else do {} while (0) 1589 } else \ 1590 break 1574 1591 1575 1592 /** @def AssertLogRelFailedBreakStmt … … 1586 1603 stmt; \ 1587 1604 break; \ 1588 } else do {} while (0) 1605 } else \ 1606 break 1589 1607 1590 1608 /** @def AssertLogRelMsgFailed … … 1695 1713 RTAssertPanic(); \ 1696 1714 break; \ 1697 } else do {} while (0) 1715 } else \ 1716 break 1698 1717 1699 1718 /** @def AssertLogRelMsgFailedBreakStmt … … 1712 1731 stmt; \ 1713 1732 break; \ 1714 } else do {} while (0) 1733 } else \ 1734 break 1715 1735 1716 1736 /** @} */ … … 1799 1819 RTAssertReleasePanic(); \ 1800 1820 break; \ 1801 } else do {} while (0) 1821 } else \ 1822 break 1802 1823 1803 1824 /** @def AssertReleaseBreakStmt … … 1816 1837 stmt; \ 1817 1838 break; \ 1818 } else do {} while (0) 1839 } else \ 1840 break 1819 1841 1820 1842 … … 1892 1914 RTAssertReleasePanic(); \ 1893 1915 break; \ 1894 } else do {} while (0) 1916 } else \ 1917 break 1895 1918 1896 1919 /** @def AssertReleaseMsgBreakStmt … … 1911 1934 stmt; \ 1912 1935 break; \ 1913 } else do {} while (0) 1936 } else \ 1937 break 1914 1938 1915 1939 … … 1954 1978 RTAssertReleasePanic(); \ 1955 1979 break; \ 1956 } else do {} while (0) 1980 } else \ 1981 break 1957 1982 1958 1983 /** @def AssertReleaseFailedBreakStmt … … 1967 1992 stmt; \ 1968 1993 break; \ 1969 } else do {} while (0) 1994 } else \ 1995 break 1970 1996 1971 1997 … … 2021 2047 RTAssertReleasePanic(); \ 2022 2048 break; \ 2023 } else do {} while (0) 2049 } else \ 2050 break 2024 2051 2025 2052 /** @def AssertReleaseMsgFailedBreakStmt … … 2036 2063 stmt; \ 2037 2064 break; \ 2038 } else do {} while (0) 2065 } else \ 2066 break 2039 2067 2040 2068 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.