Lines Matching refs:PtrTy
37 /// \tparam PtrTy Either a pointer type like 'T*' or a type that behaves like
41 /// doesn't know about but that Sema or another client does. The PtrTy
44 template <class PtrTy>
49 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits;
54 static OpaquePtr make(PtrTy P) { OpaquePtr OP; OP.set(P); return OP; }
66 /// from PtrTy to PtrT.
74 PtrTy get() const {
78 void set(PtrTy P) {
143 template<class PtrTy,
144 bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
146 PtrTy Val;
151 : Val(PtrTy()), Invalid(Invalid) {}
152 ActionResult(PtrTy val) : Val(val), Invalid(false) {}
153 ActionResult(const DiagnosticBuilder &) : Val(PtrTy()), Invalid(true) {}
163 PtrTy get() const { return Val; }
166 void set(PtrTy V) { Val = V; }
168 const ActionResult &operator=(PtrTy RHS) {
177 template<typename PtrTy>
178 class ActionResult<PtrTy, true> {
182 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits;
187 ActionResult(PtrTy V) {
202 PtrTy get() const {
208 void set(PtrTy V) {
214 const ActionResult &operator=(PtrTy RHS) {