Home
last modified time | relevance | path

Searched refs:CountedReference (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/flang/include/flang/Common/
Dreference-counted.h35 template <typename A> class CountedReference {
38 CountedReference() {} in CountedReference() function
39 CountedReference(type *m) : p_{m} { Take(); } in CountedReference() function
40 CountedReference(const CountedReference &c) : p_{c.p_} { Take(); } in CountedReference() function
41 CountedReference(CountedReference &&c) : p_{c.p_} { c.p_ = nullptr; } in CountedReference() function
42 CountedReference &operator=(const CountedReference &c) {
48 CountedReference &operator=(CountedReference &&c) {
55 ~CountedReference() { Drop(); } in ~CountedReference()
Dunwrap.h135 static auto Unwrap(const CountedReference<B> &p) -> Constify<A, B> * {
/external/llvm-project/flang/include/flang/Parser/
Dmessage.h144 using Reference = common::CountedReference<Message>;