Home
last modified time | relevance | path

Searched refs:SET_TYPESTATE (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
Dwarn-consumed-parsing.cpp5 #define SET_TYPESTATE(state) __attribute__ ((set_typestate(state))) macro
25 int var0 SET_TYPESTATE(consumed); // expected-warning {{'set_typestate' attribute only applies to m…
31 void function0() SET_TYPESTATE(consumed); // expected-warning {{'set_typestate' attribute only appl…
41 void consumes() SET_TYPESTATE(consumed); in CONSUMABLE()
52 …void consumes() SET_TYPESTATE(consumed); // expected-warning {{consumed analysis attribute i…
Dwarn-consumed-analysis.cpp9 #define SET_TYPESTATE(state) __attribute__ ((set_typestate(state))) macro
27 ConsumableClass<T>& operator=(nullptr_t) SET_TYPESTATE(consumed); in CONSUMABLE()
35 void operator()(int a) SET_TYPESTATE(consumed); in CONSUMABLE()
48 void consume() SET_TYPESTATE(consumed); in CONSUMABLE()
49 void unconsume() SET_TYPESTATE(unconsumed); in CONSUMABLE()
710 bool operator==(const Status &other) const SET_TYPESTATE(consumed);
712 bool check() const SET_TYPESTATE(consumed);
713 void ignore() const SET_TYPESTATE(consumed);
716 void clear() CALLABLE_WHEN("unknown", "consumed") SET_TYPESTATE(consumed);