Home
last modified time | relevance | path

Searched refs:Pointee (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp17 Pointer::Pointer(Block *Pointee) : Pointer(Pointee, 0, 0) {} in Pointer() argument
22 : Pointee(P.Pointee), Base(P.Base), Offset(P.Offset) { in Pointer()
23 if (Pointee) in Pointer()
28 : Pointee(Pointee), Base(Base), Offset(Offset) { in Pointer()
30 if (Pointee) in Pointer()
44 if (Pointee) in operator =()
50 Pointee = P.Pointee; in operator =()
51 if (Pointee) in operator =()
61 if (Pointee) in operator =()
67 Pointee = P.Pointee; in operator =()
[all …]
H A DPointer.h66 return Pointer(Pointee, Base, Base + Off); in atIndex()
72 return Pointer(Pointee, Field, Field); in atField()
101 return Pointer(Pointee, Offset, Offset); in narrow()
136 return Pointer(Pointee, Next, Offset); in expand()
142 bool isLive() const { return Pointee && !Pointee->IsDead; } in isLive()
154 return Pointer(Pointee, Base, 0); in getBase()
164 return Pointer(Pointee, Base, 0); in getArray()
167 return Pointer(Pointee, Base, Base); in getArray()
305 if (Pointee) in print()
306 OS << Pointee->getSize(); in print()
[all …]
H A DInterpBlock.cpp76 P->Pointee = &B; in DeadBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp481 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre()
485 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre()
488 Pointee->outputPre(OS, Flags); in outputPre()
495 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre()
497 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre()
500 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre()
527 if (Pointee->kind() == NodeKind::ArrayType || in outputPost()
528 Pointee->kind() == NodeKind::FunctionSignature) in outputPost()
531 Pointee->outputPost(OS, Flags); in outputPost()
H A DMicrosoftDemangle.cpp870 PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals); in demangleVariableEncoding()
2021 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType()
2028 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Mangle); in demanglePointerType()
2046 Pointer->Pointee = demangleFunctionType(MangledName, true); in demangleMemberPointerType()
2054 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Drop); in demangleMemberPointerType()
2055 if (Pointer->Pointee) in demangleMemberPointerType()
2056 Pointer->Pointee->Quals = PointeeQuals; in demangleMemberPointerType()
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-generated-matchers_test.cc86 using testing::Pointee;
497 EXPECT_THAT(&v, Pointee(ElementsAre(0, 1, _))); in TEST()
498 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3)))); in TEST()
1301 EXPECT_THAT(p, AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(5)))); in TEST()
1302 EXPECT_THAT(p, Not(AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(3))))); in TEST()
1307 EXPECT_THAT(p, AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Lt(5)))); in TEST()
1308 EXPECT_THAT(p, Not(AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Gt(5))))); in TEST()
H A Dgmock-matchers_test.cc119 using testing::Pointee;
3679 const Matcher<int*> m = Pointee(Ge(0)); in TEST()
3709 const Matcher<double* &> m = Pointee(Ge(0)); in TEST()
3860 const Matcher<const char*> m = Pointee(_); in TEST()
3866 const Matcher<int*> m = Pointee(5); in TEST()
3876 const Matcher<int*> m = Pointee(Gt(3)); in TEST()
3894 const Matcher<int*> m = Pointee(0); in TEST()
6801 EXPECT_THAT(p, Pointee(Eq(3))); in TEST()
6802 EXPECT_THAT(p, Not(Pointee(Eq(2)))); in TEST()
6807 EXPECT_THAT(p, Pointee(Eq(3))); in TEST()
[all …]
H A Dgmock_link_test.h165 using testing::Pointee;
656 Matcher<int*> m = Pointee(Eq(1)); in TEST()
H A Dgmock-actions_test.cc1234 EXPECT_CALL(mock, TakeUnique(testing::Pointee(7))) in TEST()
H A Dgmock-generated-actions_test.cc1126 HAS_1_TEMPLATE_PARAMS(template <typename Pointee> class, in ACTION_TEMPLATE()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp191 const Type *Pointee; member in __anonb7c02cfb0111::PointerType
195 PointerType(const Type *Pointee, bool Const) in PointerType() argument
196 : Type(TypeKind::Pointer), Pointee(Pointee), Const(Const) {} in PointerType()
198 bool requiresFloat() const override { return Pointee->requiresFloat(); } in requiresFloat()
199 bool requiresMVE() const override { return Pointee->requiresMVE(); } in requiresMVE()
201 std::string Name = Pointee->cName(); in cName()
206 assert(!isa<PointerType>(Pointee) && "Pointer to pointer not supported"); in cName()
213 return "llvm::PointerType::getUnqual(" + Pointee->llvmName() + ")"; in llvmName()
1126 const Type *Pointee = getType(D->getArg(0), Param); in getType() local
1127 return getPointerType(Pointee, Op->getValueAsBit("const")); in getType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h478 const Node *Pointee; variable
483 Pointee(Pointee_) {} in PointerType()
488 return Pointee->hasRHSComponent(S); in hasRHSComponentSlow()
495 Pointee->printLeft(s); in printLeft()
496 if (Pointee->hasArray(s)) in printLeft()
498 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printLeft()
512 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printRight()
514 Pointee->printRight(s); in printRight()
526 const Node *Pointee; variable
541 SoFar.second = RT->Pointee; in collapse()
[all …]
H A DMicrosoftDemangleNodes.h473 TypeNode *Pointee = nullptr; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp167 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local
169 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h2639 PointerType(QualType Pointee, QualType CanonicalPtr)
2641 PointeeType(Pointee) {}
2654 ID.AddPointer(Pointee.getAsOpaquePtr());
2720 BlockPointerType(QualType Pointee, QualType CanonicalCls)
2722 PointeeType(Pointee) {}
2736 ID.AddPointer(Pointee.getAsOpaquePtr());
2837 Pointee->getDependence()),
2838 PointeeType(Pointee), Class(Cls) {}
2867 ID.AddPointer(Pointee.getAsOpaquePtr());
6080 ObjCObjectPointerType(QualType Canonical, QualType Pointee)
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp619 QualType Pointee = ParamTy->getPointeeType(); in evalCall() local
620 if (Pointee.isConstQualified() || Pointee->isVoidType()) in evalCall()
623 Escaped.emplace_back(loc::MemRegionVal(MR), State->getSVal(MR, Pointee)); in evalCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp561 SymbolRef Pointee = PointeeVal.getAsLocSymbol(); in updateOutParameters() local
562 if (!Pointee) in updateOutParameters()
569 return setRefBinding(St, Pointee, in updateOutParameters()
573 return setRefBinding(St, Pointee, in updateOutParameters()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp3551 if (Pointee.getAddressSpace() != LangAS::Default && in ActOnCXXDelete()
3555 << Pointee.getUnqualifiedType() in ActOnCXXDelete()
3559 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete()
3565 } else if (Pointee->isFunctionType() || Pointee->isVoidType() || in ActOnCXXDelete()
3566 Pointee->isSizelessType()) { in ActOnCXXDelete()
3569 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete()
3572 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete()
3579 if (Pointee->isArrayType() && !ArrayForm) { in ActOnCXXDelete()
3633 bool IsComplete = isCompleteType(StartLoc, Pointee); in ActOnCXXDelete()
3636 Pointee.isDestructedType()); in ActOnCXXDelete()
[all …]
/freebsd-13.1/contrib/googletest/googlemock/
H A DCHANGES22 * Improvement: Pointee() now works on an optional<T>.
/freebsd-13.1/contrib/googletest/googlemock/docs/
H A DCookBook.md1060 Well, you can use the `Pointee(m)` matcher.
1062 `Pointee(m)` matches a pointer iff `m` matches the value the pointer
1067 using ::testing::Pointee;
1069 EXPECT_CALL(foo, Bar(Pointee(Ge(3))));
1075 One nice thing about `Pointee()` is that it treats a `NULL` pointer as
1076 a match failure, so you can write `Pointee(m)` instead of
1079 AllOf(NotNull(), Pointee(m))
1084 Also, did we tell you that `Pointee()` works with both raw pointers
1089 nested `Pointee()` to probe deeper inside the value. For example,
1090 `Pointee(Pointee(Lt(3)))` matches a pointer that points to a pointer
[all …]
H A DCheatSheet.md289 |`Pointee(m)`|`argument` (either a smart pointer or a raw pointer) points to a value that matches m…
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3776 QualType Pointee = PT->getPointeeType(); in isNullPointerConstant() local
3777 Qualifiers Qs = Pointee.getQualifiers(); in isNullPointerConstant()
3783 Pointee.getAddressSpace() == LangAS::opencl_generic) || in isNullPointerConstant()
3786 Pointee.getAddressSpace() == LangAS::opencl_private)) in isNullPointerConstant()
3789 if (Pointee->isVoidType() && Qs.empty() && // to void* in isNullPointerConstant()
H A DType.cpp4315 QualType Pointee = Pointer->getPointeeType(); in isCARCBridgableType() local
4316 return Pointee->isVoidType() || Pointee->isRecordType(); in isCARCBridgableType()
H A DASTContext.cpp3018 QualType Pointee = ptr->getPointeeType(); in getObjCGCQualType() local
3019 if (Pointee->isAnyPointerType()) { in getObjCGCQualType()
3020 QualType ResultType = getObjCGCQualType(Pointee, GCAttr); in getObjCGCQualType()
3041 QualType Pointee = Ptr->getPointeeType(); in removePtrSizeAddrSpace() local
3042 if (isPtrSizeAddressSpace(Pointee.getAddressSpace())) { in removePtrSizeAddrSpace()
3043 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2345 GTEST_REMOVE_REFERENCE_(Pointer))>::type Pointee;
2348 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
2370 const Matcher<const Pointee&> matcher_;
4455 inline internal::PointeeMatcher<InnerMatcher> Pointee(

12