Searched refs:CALLABLE_WHEN (Results 1 – 2 of 2) sorted by relevance
3 #define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__))) macro27 int var2 CALLABLE_WHEN("consumed"); // expected-warning {{'callable_when' attribute only applies to… variable33 void function2() CALLABLE_WHEN("consumed"); // expected-warning {{'callable_when' attribute only ap…37 void callableWhen0() CALLABLE_WHEN("unconsumed"); in CONSUMABLE()38 …void callableWhen1() CALLABLE_WHEN(42); // expected-error {{'callable_when' attribute requires a … in CONSUMABLE()39 …void callableWhen2() CALLABLE_WHEN("foo"); // expected-warning {{'callable_when' attribute argume… in CONSUMABLE()40 void callableWhen3() CALLABLE_WHEN(unconsumed); in CONSUMABLE()51 …void callableWhen() CALLABLE_WHEN("unconsumed"); // expected-warning {{consumed analysis attribu…
5 #define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__))) macro36 void operator*() const CALLABLE_WHEN("unconsumed"); in CONSUMABLE()37 void unconsumedCall() const CALLABLE_WHEN("unconsumed"); in CONSUMABLE()38 void callableWhenUnknown() const CALLABLE_WHEN("unconsumed", "unknown"); in CONSUMABLE()57 void operator*() CALLABLE_WHEN("unconsumed");59 ~DestructorTester() CALLABLE_WHEN("consumed");707 Status& operator=(const Status &other) CALLABLE_WHEN("unknown", "consumed");708 Status& operator=(Status &&other) CALLABLE_WHEN("unknown", "consumed");716 void clear() CALLABLE_WHEN("unknown", "consumed") SET_TYPESTATE(consumed);718 ~Status() CALLABLE_WHEN("unknown", "consumed");