Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/highlight.cpp
Show First 20 Lines • Show All 422 Lines • ▼ Show 20 Line(s) | |||||
423 | MY_XXX; | 423 | MY_XXX; | ||
424 | BOOST_XXX; | 424 | BOOST_XXX; | ||
425 | __STDC_VERSION__; | 425 | __STDC_VERSION__; | ||
426 | __TIME__; | 426 | __TIME__; | ||
427 | __cplusplus; | 427 | __cplusplus; | ||
428 | 428 | | |||
429 | // Attributes | 429 | // Attributes | ||
430 | 430 | | |||
431 | int f(int i) [[expects: i > 0]] [[ensures audit x: x < 1]]; | ||||
432 | | ||||
431 | [[noreturn]] void foo(); | 433 | [[noreturn]] void foo(); | ||
432 | [[deprecated]] void foo(); | 434 | [[deprecated]] void foo(); | ||
433 | [[deprecated("because")]] void foo(); | 435 | [[deprecated("because")]] void foo(); | ||
434 | void foo([[carries_dependency]] int); | 436 | void foo([[carries_dependency]] int); | ||
435 | 437 | | |||
436 | [[opt(1), debug]] | 438 | [[opt(1), debug]] | ||
437 | [[using CC: opt(1), debug]] // c++17 | 439 | [[using CC: opt(1), debug]] // c++17 | ||
438 | [[using CC: CC::opt(1)]] // c++17 | 440 | [[using CC: CC::opt(1)]] // c++17 | ||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |