Searched refs:CALLABLE_WHEN (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-consumed-parsing.cpp | 3 #define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__))) macro 27 int var2 CALLABLE_WHEN("consumed"); // expected-warning {{'callable_when' attribute only applies to… variable 33 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…
|
D | warn-consumed-analysis.cpp | 5 #define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__))) macro 36 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() 59 void operator*() CALLABLE_WHEN("unconsumed"); 61 ~DestructorTester() CALLABLE_WHEN("consumed"); 734 Status& operator=(const Status &other) CALLABLE_WHEN("unknown", "consumed"); 735 Status& operator=(Status &&other) CALLABLE_WHEN("unknown", "consumed"); 743 void clear() CALLABLE_WHEN("unknown", "consumed") SET_TYPESTATE(consumed); 745 ~Status() CALLABLE_WHEN("unknown", "consumed");
|
/external/clang/test/SemaCXX/ |
D | warn-consumed-parsing.cpp | 3 #define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__))) macro 27 int var2 CALLABLE_WHEN("consumed"); // expected-warning {{'callable_when' attribute only applies to… variable 33 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…
|
D | warn-consumed-analysis.cpp | 5 #define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__))) macro 36 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");
|