Searched refs:TEST_TYPESTATE (Results 1 – 4 of 4) sorted by relevance
7 #define TEST_TYPESTATE(state) __attribute__ ((test_typestate(state))) macro26 int var1 TEST_TYPESTATE(consumed); // expected-warning {{'test_typestate' attribute only applies to…32 void function1() TEST_TYPESTATE(consumed); // expected-warning {{'test_typestate' attribute only ap…42 bool testUnconsumed() TEST_TYPESTATE(consumed); in CONSUMABLE()53 …bool testUnconsumed() TEST_TYPESTATE(consumed); // expected-warning {{consumed analysis attribute …
10 #define TEST_TYPESTATE(state) __attribute__ ((test_typestate(state))) macro40 bool isValid() const TEST_TYPESTATE(unconsumed); in CONSUMABLE()41 operator bool() const TEST_TYPESTATE(unconsumed); in CONSUMABLE()42 bool operator!=(nullptr_t) const TEST_TYPESTATE(unconsumed); in CONSUMABLE()43 bool operator==(nullptr_t) const TEST_TYPESTATE(consumed); in CONSUMABLE()