Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp462 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre()
466 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre()
469 Pointee->outputPre(OS, Flags); in outputPre()
476 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre()
478 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre()
481 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre()
508 if (Pointee->kind() == NodeKind::ArrayType || in outputPost()
509 Pointee->kind() == NodeKind::FunctionSignature) in outputPost()
512 Pointee->outputPost(OS, Flags); in outputPost()
H A DMicrosoftDemangle.cpp780 PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals); in demangleVariableEncoding()
1872 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType()
1879 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Mangle); in demanglePointerType()
1895 Pointer->Pointee = demangleFunctionType(MangledName, true); in demangleMemberPointerType()
1903 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Drop); in demangleMemberPointerType()
1904 Pointer->Pointee->Quals = PointeeQuals; in demangleMemberPointerType()
/freebsd-12.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-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h2545 Pointee->isVariablyModifiedType(),
2547 PointeeType(Pointee) {}
2576 ID.AddPointer(Pointee.getAsOpaquePtr());
2648 Pointee->isVariablyModifiedType(),
2650 PointeeType(Pointee) {}
2664 ID.AddPointer(Pointee.getAsOpaquePtr());
2770 Pointee->isVariablyModifiedType(),
2802 ID.AddPointer(Pointee.getAsOpaquePtr());
5801 Pointee->isDependentType(),
5803 Pointee->isVariablyModifiedType(),
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h463 const Node *Pointee; variable
468 Pointee(Pointee_) {} in PointerType()
473 return Pointee->hasRHSComponent(S); in hasRHSComponentSlow()
480 Pointee->printLeft(s); in printLeft()
481 if (Pointee->hasArray(s)) in printLeft()
483 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printLeft()
497 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printRight()
499 Pointee->printRight(s); in printRight()
511 const Node *Pointee; variable
526 SoFar.second = RT->Pointee; in collapse()
[all …]
H A DMicrosoftDemangleNodes.h447 TypeNode *Pointee = nullptr; member
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp166 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local
168 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp576 SymbolRef Pointee = PointeeVal.getAsLocSymbol(); in updateOutParameters() local
577 if (!Pointee) in updateOutParameters()
584 return setRefBinding(St, Pointee, in updateOutParameters()
588 return setRefBinding(St, Pointee, in updateOutParameters()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprCXX.cpp3311 QualType PointeeElem = Context.getBaseElementType(Pointee); in ActOnCXXDelete()
3313 if (Pointee.getAddressSpace() != LangAS::Default && in ActOnCXXDelete()
3317 << Pointee.getUnqualifiedType() in ActOnCXXDelete()
3321 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete()
3327 } else if (Pointee->isFunctionType() || Pointee->isVoidType()) { in ActOnCXXDelete()
3330 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete()
3333 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete()
3340 if (Pointee->isArrayType() && !ArrayForm) { in ActOnCXXDelete()
3394 bool IsComplete = isCompleteType(StartLoc, Pointee); in ActOnCXXDelete()
3397 Pointee.isDestructedType()); in ActOnCXXDelete()
[all …]
H A DSemaDecl.cpp5546 QualType Pointee = PTy->getPointeeType(); in TryToFixInvalidVariablyModifiedType() local
5548 TryToFixInvalidVariablyModifiedType(Pointee, Context, SizeIsNegative, in TryToFixInvalidVariablyModifiedType()
/freebsd-12.1/contrib/googletest/googlemock/
H A DCHANGES22 * Improvement: Pointee() now works on an optional<T>.
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp3461 QualType Pointee = PT->getPointeeType(); in isNullPointerConstant() local
3462 Qualifiers Qs = Pointee.getQualifiers(); in isNullPointerConstant()
3468 Pointee.getAddressSpace() == LangAS::opencl_generic) || in isNullPointerConstant()
3471 Pointee.getAddressSpace() == LangAS::opencl_private)) in isNullPointerConstant()
3474 if (Pointee->isVoidType() && Qs.empty() && // to void* in isNullPointerConstant()
H A DType.cpp3960 QualType Pointee = Pointer->getPointeeType(); in isCARCBridgableType() local
3961 return Pointee->isVoidType() || Pointee->isRecordType(); in isCARCBridgableType()
H A DExprConstant.cpp5739 QualType Pointee = E->getType()->castAs<PointerType>()->getPointeeType(); in evaluateLValueAsAllocSize() local
5740 Result.addUnsizedArray(Info, E, Pointee); in evaluateLValueAsAllocSize()
5866 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator() local
5867 return HandleLValueArrayAdjustment(Info, E, Result, Pointee, Offset); in VisitBinaryOperator()
H A DASTContext.cpp2700 QualType Pointee = ptr->getPointeeType(); in getObjCGCQualType() local
2701 if (Pointee->isAnyPointerType()) { in getObjCGCQualType()
2702 QualType ResultType = getObjCGCQualType(Pointee, GCAttr); in getObjCGCQualType()
/freebsd-12.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-12.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(
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp6240 QualType Pointee = readType(*Loc.F, Record, Idx); in readTypeRecord() local
6241 return Context.getObjCObjectPointerType(Pointee); in readTypeRecord()