diff --git a/autotests/folding/highlight.cpp.fold b/autotests/folding/highlight.cpp.fold --- a/autotests/folding/highlight.cpp.fold +++ b/autotests/folding/highlight.cpp.fold @@ -428,21 +428,19 @@ // Attributes -int f(int i) [[expects: i > 0]] [[ensures audit x: x < 1]]; - [[noreturn]] void foo(); [[deprecated]] void foo(); [[deprecated("because")]] void foo(); void foo([[carries_dependency]] int); [[opt(1), debug]] [[using CC: opt(1), debug]] // c++17 [[using CC: CC::opt(1)]] // c++17 [[gnu::assume_aligned(3'2l,2)]] void* f(); [[using gnu: assume_aligned(3)]] [[clang::assume_aligned(3)]] void f([[maybe_unused]] int val) { [[maybe_unused]] int x; diff --git a/autotests/html/highlight.cpp.html b/autotests/html/highlight.cpp.html --- a/autotests/html/highlight.cpp.html +++ b/autotests/html/highlight.cpp.html @@ -434,21 +434,19 @@ // Attributes -int f(int i) [[expects: i > 0]] [[ensures audit x: x < 1]]; - [[noreturn]] void foo(); [[deprecated]] void foo(); [[deprecated("because")]] void foo(); void foo([[carries_dependency]] int); [[opt(1), debug]] [[using CC: opt(1), debug]] // c++17 [[using CC: CC::opt(1)]] // c++17 [[gnu::assume_aligned(3'2l,2)]] void* f(); [[using gnu: assume_aligned(3)]] [[clang::assume_aligned(3)]] void f([[maybe_unused]] int val) { [[maybe_unused]] int x; diff --git a/autotests/input/highlight.cpp b/autotests/input/highlight.cpp --- a/autotests/input/highlight.cpp +++ b/autotests/input/highlight.cpp @@ -428,21 +428,19 @@ // Attributes -int f(int i) [[expects: i > 0]] [[ensures audit x: x < 1]]; - [[noreturn]] void foo(); [[deprecated]] void foo(); [[deprecated("because")]] void foo(); void foo([[carries_dependency]] int); [[opt(1), debug]] [[using CC: opt(1), debug]] // c++17 [[using CC: CC::opt(1)]] // c++17 [[gnu::assume_aligned(3'2l,2)]] void* f(); [[using gnu: assume_aligned(3)]] [[clang::assume_aligned(3)]] void f([[maybe_unused]] int val) { [[maybe_unused]] int x; diff --git a/autotests/reference/highlight.cpp.ref b/autotests/reference/highlight.cpp.ref --- a/autotests/reference/highlight.cpp.ref +++ b/autotests/reference/highlight.cpp.ref @@ -428,8 +428,6 @@
// Attributes

-int f(int i) [[expects: i > 0]] [[ensures audit x: x < 1]];
-
[[noreturn]] void foo();
[[deprecated]] void foo();
[[deprecated("because")]] void foo();
diff --git a/data/syntax/isocpp.xml b/data/syntax/isocpp.xml --- a/data/syntax/isocpp.xml +++ b/data/syntax/isocpp.xml @@ -22,7 +22,7 @@ or_eq xor xor_eq - + concept requires @@ -158,26 +158,14 @@ - - - assert - ensures - expects - - - - default - audit - axiom - using bool @@ -530,7 +518,6 @@ - @@ -543,90 +530,85 @@ - - - - -