| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Pointer.cpp | 17 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 D | Pointer.h | 63 return Pointer(Pointee, Base, Base + Off); in atIndex() 69 return Pointer(Pointee, Field, Field); in atField() 98 return Pointer(Pointee, Offset, Offset); in narrow() 133 return Pointer(Pointee, Next, Offset); in expand() 139 bool isLive() const { return Pointee && !Pointee->IsDead; } in isLive() 151 return Pointer(Pointee, Base, 0); in getBase() 161 return Pointer(Pointee, Base, 0); in getArray() 164 return Pointer(Pointee, Base, Base); in getArray() 302 if (Pointee) in print() 303 OS << Pointee->getSize(); in print() [all …]
|
| H A D | InterpBlock.cpp | 76 P->Pointee = &B; in DeadBlock()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | FixItHintUtils.cpp | 115 changePointer(const VarDecl &Var, DeclSpec::TQ Qualifier, const Type *Pointee, in changePointer() argument 124 if (QualTarget == QualifierTarget::Pointee && isValueType(Pointee)) { in changePointer() 151 if (QualTarget == QualifierTarget::Pointee && Pointee->isPointerType()) { in changePointer() 166 changeReferencee(const VarDecl &Var, DeclSpec::TQ Qualifier, QualType Pointee, in changeReferencee() argument 169 if (QualPolicy == QualifierPolicy::Left && isValueType(Pointee)) in changeReferencee() 192 assert((QualTarget == QualifierTarget::Pointee || in addQualifierToVarDecl()
|
| H A D | FixItHintUtils.h | 34 Pointee, /// Transforming a pointer attaches to the pointee and not the enumerator 47 QualifierTarget CT = QualifierTarget::Pointee,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | QualifiedAutoCheck.cpp | 91 QualType Pointee = QType->getPointeeType(); in isPointerConst() local 92 assert(!Pointee.isNull() && "can't have a null Pointee"); in isPointerConst() 93 return Pointee.isConstQualified(); in isPointerConst() 97 QualType Pointee = in isAutoPointerConst() local 99 assert(!Pointee.isNull() && "can't have a null Pointee"); in isAutoPointerConst() 100 return Pointee.isConstQualified(); in isAutoPointerConst()
|
| H A D | ContainerSizeEmptyCheck.cpp | 185 const auto *Pointee = Result.Nodes.getNodeAs<Expr>("Pointee"); in check() local 189 : (Pointee ? Pointee : Result.Nodes.getNodeAs<Expr>("STLObject")); in check()
|
| H A D | IsolateDeclarationCheck.cpp | 62 const auto *Pointee = T->getPointeeType()->castAs<FunctionType>(); in countIndirections() local 64 Pointee->getReturnType().IgnoreParens().getTypePtr(), ++Indirections); in countIndirections()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangleNodes.cpp | 480 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 484 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre() 487 Pointee->outputPre(OB, Flags); in outputPre() 494 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre() 496 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 499 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre() 526 if (Pointee->kind() == NodeKind::ArrayType || in outputPost() 527 Pointee->kind() == NodeKind::FunctionSignature) in outputPost() 530 Pointee->outputPost(OB, Flags); in outputPost()
|
| H A D | MicrosoftDemangle.cpp | 874 PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals); in demangleVariableEncoding() 2018 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType() 2025 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Mangle); in demanglePointerType() 2043 Pointer->Pointee = demangleFunctionType(MangledName, true); in demangleMemberPointerType() 2051 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Drop); in demangleMemberPointerType() 2052 if (Pointer->Pointee) in demangleMemberPointerType() 2053 Pointer->Pointee->Quals = PointeeQuals; in demangleMemberPointerType()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 191 const Type *Pointee; member in __anondd1c47770111::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() 215 const Type *getPointeeType() const { return Pointee; } in getPointeeType() 1124 const Type *Pointee = getType(D->getArg(0), Param); in getType() local [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | UniqueCStringMapTest.cpp | 43 testing::Pointee(testing::Field(&EntryT::value, NoDefault(42)))); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 581 const Node *Pointee; variable 586 Pointee(Pointee_) {} in PointerType() 591 return Pointee->hasRHSComponent(OB); in hasRHSComponentSlow() 598 Pointee->printLeft(OB); in printLeft() 599 if (Pointee->hasArray(OB)) in printLeft() 601 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printLeft() 615 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printRight() 617 Pointee->printRight(OB); in printRight() 629 const Node *Pointee; variable 651 SoFar.second = RT->Pointee; in collapse() [all …]
|
| /llvm-project-15.0.7/libcxxabi/src/demangle/ |
| H A D | ItaniumDemangle.h | 581 const Node *Pointee; variable 586 Pointee(Pointee_) {} in PointerType() 591 return Pointee->hasRHSComponent(OB); in hasRHSComponentSlow() 598 Pointee->printLeft(OB); in printLeft() 599 if (Pointee->hasArray(OB)) in printLeft() 601 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printLeft() 615 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printRight() 617 Pointee->printRight(OB); in printRight() 629 const Node *Pointee; variable 651 SoFar.second = RT->Pointee; in collapse() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | IncludeCleanerTests.cpp | 26 using ::testing::Pointee; 343 EXPECT_THAT(Unused, ElementsAre(Pointee(writtenInclusion("<queue>")))); in TEST()
|
| H A D | TUSchedulerTests.cpp | 56 using ::testing::Pointee; 508 EXPECT_THAT(Context::current().get(NonceKey), Pointee(Nonce)); in TEST_F() 529 EXPECT_THAT(Context::current().get(NonceKey), Pointee(Nonce)); in TEST_F() 549 EXPECT_THAT(Context::current().get(NonceKey), Pointee(Nonce)); in TEST_F()
|
| H A D | IndexTests.cpp | 28 using ::testing::Pointee; 71 EXPECT_THAT(B.find(SymbolID(Sym)), Pointee(named(Sym))); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | RecordName.cpp | 171 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local 173 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 2717 PointerType(QualType Pointee, QualType CanonicalPtr) 2719 PointeeType(Pointee) {} 2732 ID.AddPointer(Pointee.getAsOpaquePtr()); 2798 BlockPointerType(QualType Pointee, QualType CanonicalCls) 2800 PointeeType(Pointee) {} 2814 ID.AddPointer(Pointee.getAsOpaquePtr()); 2915 Pointee->getDependence()), 2916 PointeeType(Pointee), Class(Cls) {} 2945 ID.AddPointer(Pointee.getAsOpaquePtr()); 6212 ObjCObjectPointerType(QualType Canonical, QualType Pointee) [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 672 QualType Pointee = ParamTy->getPointeeType(); in evalCall() local 673 if (Pointee.isConstQualified() || Pointee->isVoidType()) in evalCall() 676 Escaped.emplace_back(loc::MemRegionVal(MR), State->getSVal(MR, Pointee)); in evalCall()
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | RangeMapTest.cpp | 100 return testing::Pointee(testing::Field(&EntryT::data, ID)); in EntryIs()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 139 if (auto Pointee = getPointeeOf(C, Arg)) in getTaintedPointeeOrPointer() local 140 if (isTainted(State, *Pointee)) // FIXME: isTainted(...) ? Pointee : None; in getTaintedPointeeOrPointer() 141 return Pointee; in getTaintedPointeeOrPointer()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 561 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()
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | dibuilder.go | 316 Pointee Metadata member 329 t.Pointee.C,
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 3597 if (Pointee.getAddressSpace() != LangAS::Default && in ActOnCXXDelete() 3601 << Pointee.getUnqualifiedType() in ActOnCXXDelete() 3605 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete() 3611 } else if (Pointee->isFunctionType() || Pointee->isVoidType() || in ActOnCXXDelete() 3612 Pointee->isSizelessType()) { in ActOnCXXDelete() 3615 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete() 3618 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete() 3625 if (Pointee->isArrayType() && !ArrayForm) { in ActOnCXXDelete() 3679 bool IsComplete = isCompleteType(StartLoc, Pointee); in ActOnCXXDelete() 3682 Pointee.isDestructedType()); in ActOnCXXDelete() [all …]
|