Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp291 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { in Prop()
543 P, GenericTaintRule::Prop(std::move(SrcDesc), std::move(DstDesc)), Rules);
608 {{CDM::CLibrary, {"accept"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
609 {{CDM::CLibrary, {"atoi"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
610 {{CDM::CLibrary, {"atol"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
611 {{CDM::CLibrary, {"atoll"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
612 {{CDM::CLibrary, {"fgetc"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
613 {{CDM::CLibrary, {"fgetln"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
615 TR::Prop({{2}}, {{0, ReturnValueIndex}})}, in initTaintRules()
617 TR::Prop({{ in initTaintRules()
290 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { Prop() function in __anon146649730111::GenericTaintRule
[all...]
H A DIvarInvalidationChecker.cpp192 const ObjCPropertyDecl *Prop,
300 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument
307 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar()
320 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
H A DCheckObjCDealloc.cpp936 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
937 if (!Prop) in getValueReleasedByNillingOut()
940 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp167 const OpCodeProperty &Prop) { in getOrCreateStructType()
169 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop)).str(); in getOrCreateStructType()
171 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop) + "." + in getOrCreateStructType()
333 /// <param-types> are constructed from types in Prop.
359 const T &Prop = *Iter;
360 if (VersionTuple(Prop.DXILVersion.Major, Prop.DXILVersion.Minor) <=
453 const OpCodeProperty *Prop = getOpCodeProperty(OpCode);
456 if (Prop->OverloadParamIndex == 0) {
460 } else if (Prop
149 constructOverloadName(OverloadKind Kind,Type * Ty,const OpCodeProperty & Prop) constructOverloadName() argument
231 getDXILOpFunctionType(const OpCodeProperty * Prop,Type * ReturnTy,Type * OverloadTy) getDXILOpFunctionType() argument
258 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); createDXILOpCall() local
281 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); getOverloadTy() local
[all...]
/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp106 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop,
115 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol()
116 S.ObjC().DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), in CheckPropertyAgainstProtocol()
123 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol()
849 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols()
851 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols() local
852 Property = Prop.value(); in SelectPropertyForSynthesisFromProtocols()
853 SelectedIndex = Prop.index(); in SelectPropertyForSynthesisFromProtocols()
873 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols()
108 CheckPropertyAgainstProtocol(Sema & S,ObjCPropertyDecl * Prop,ObjCProtocolDecl * Proto,llvm::SmallPtrSetImpl<ObjCProtocolDecl * > & Known) CheckPropertyAgainstProtocol() argument
875 const ObjCPropertyDecl *Prop; SelectPropertyForSynthesisFromProtocols() member
999 hasWrittenStorageAttribute(ObjCPropertyDecl * Prop,ObjCPropertyQueryKind QueryKind) hasWrittenStorageAttribute() argument
1740 for (auto *Prop : IDecl->properties()) { CollectImmediateProperties() local
1760 for (auto *Prop : CATDecl->properties()) { CollectImmediateProperties() local
1774 for (auto *Prop : PDecl->properties()) { CollectImmediateProperties() local
1844 SuperClassImplementsProperty(ObjCInterfaceDecl * IDecl,ObjCPropertyDecl * Prop) SuperClassImplementsProperty() argument
1878 ObjCPropertyDecl *Prop = PropEntry.second; DefaultSynthesizeProperties() local
1977 DiagnoseUnimplementedAccessor(Sema & S,ObjCInterfaceDecl * PrimaryClass,Selector Method,ObjCImplDecl * IMPDecl,ObjCContainerDecl * CDecl,ObjCCategoryDecl * C,ObjCPropertyDecl * Prop,llvm::SmallPtrSet<const ObjCMethodDecl *,8> & SMap) DiagnoseUnimplementedAccessor() argument
2100 ObjCPropertyDecl *Prop = P->second; DiagnoseUnimplementedProperties() local
2150 for (auto *Prop : IDecl->properties()) AtomicPropertySetterGetterRules() local
2153 for (auto *Prop : Ext->properties()) AtomicPropertySetterGetterRules() local
[all...]
H A DScopeInfo.cpp134 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy()
135 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy() argument
153 const ObjCPropertyDecl *Prop) { in recordUseOfWeak()
154 assert(Msg && Prop); in recordUseOfWeak() argument
156 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
200 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse()
203 Prop)); in markSafeWeakUse()
201 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { markSafeWeakUse() local
/llvm-project/clang-tools-extra/clangd/unittests/support/
H A DTraceTests.cpp48 for (auto &Prop : *M) { in verifyObject()
49 auto *K = llvm::dyn_cast_or_null<llvm::yaml::ScalarNode>(Prop.getKey()); in verifyObject()
57 auto *V = llvm::dyn_cast_or_null<llvm::yaml::ScalarNode>(Prop.getValue()); in verifyObject()
107 auto Prop = Root->begin(); in TEST() local
108 ASSERT_NE(Prop, Root->end()) << "Expected displayTimeUnit property"; in TEST()
109 ASSERT_THAT(Prop->getKey(), stringNode("displayTimeUnit")); in TEST()
110 EXPECT_THAT(Prop->getValue(), stringNode("ns")); in TEST()
111 ASSERT_NE(++Prop, Root->end()) << "Expected traceEvents property"; in TEST()
112 EXPECT_THAT(Prop->getKey(), stringNode("traceEvents")); in TEST()
114 llvm::dyn_cast_or_null<llvm::yaml::SequenceNode>(Prop->getValue()); in TEST()
[all …]
/llvm-project/clang/test/ARCMT/
H A Dobjcmt-protocol-conformance.m.result51 @property (copy) id Prop;
55 @property (copy) id Prop;
62 @synthesize Prop=_XXX;
66 @property (copy) id Prop;
70 @property (copy) id Prop;
74 @property (copy) id Prop;
H A Dobjcmt-protocol-conformance.m51 @property (copy) id Prop; property
55 @property (copy) id Prop; property
62 @synthesize Prop=_XXX;
66 @property (copy) id Prop; property
70 @property (copy) id Prop; property
74 @property (copy) id Prop; property
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DValueTest.cpp52 TopBoolValue Prop(A.makeAtomRef(Atom(0))); in TEST() local
55 V1.setProperty("foo", Prop); in TEST()
56 V2.setProperty("foo", Prop); in TEST()
75 TopBoolValue Prop(A.makeAtomRef(Atom(0))); in TEST() local
79 V1.setProperty("foo", Prop); in TEST()
H A DSignAnalysisTest.cpp467 auto *Prop = Val->getProperty(Property); in getProperty() local
468 if (!isa_and_nonnull<BoolValue>(Prop)) in getProperty()
471 return {testing::AssertionSuccess(), Prop}; in getProperty()
480 auto [Result, Prop] = getProperty(Env, ASTCtx, N, Property); in isPropertyImplied()
481 if (!Prop) in isPropertyImplied()
483 auto *BVProp = cast<BoolValue>(Prop); in isPropertyImplied()
/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp746 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() argument
747 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
758 if (!Prop->isReadOnly()) in findBackingIvar()
761 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()
777 Prop->getIdentifier(), Prop->getQueryKind()); in findBackingIvar()
778 if (ShadowingProp && ShadowingProp != Prop) { in findBackingIvar()
789 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter() local
800 Prop = Candidate; in createObjCPropertyGetter()
801 IVar = Prop in createObjCPropertyGetter()
[all...]
/llvm-project/clang/test/SemaObjC/
H A Dforward-protocol-incomplete-impl-warn.m7 @property int Prop; // expected-note {{property declared here}} property
17 … expected-warning {{auto property synthesis will not synthesize property 'Prop' declared in protoc…
H A Dobjc-independent-class-attribute.m19 @property (copy) NSObject *__attribute__((objc_independent_class)) Prop; // expected-warning {{'obj… property
/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp237 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty()
238 if (Prop->isInstanceProperty() == IsInstance) { in getProperty()
239 return Prop; in getProperty() local
404 for (auto *Prop : properties()) {
405 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
409 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement()
410 PM[std::make_pair(Prop->getIdentifier(), Prop in collectPropertiesToImplement()
406 for (auto *Prop : properties()) { collectPropertiesToImplement() local
411 for (auto *Prop : ClassExt->properties()) { collectPropertiesToImplement() local
1461 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) findPropertyDecl() local
2044 for (auto *Prop : PDecl->properties()) { collectPropertiesToImplement() local
2062 for (auto *Prop : PDecl->properties()) { collectInheritedProtocolProperties() local
[all...]
/llvm-project/clang/test/SemaObjCXX/
H A Dabstract-class-type-ivar.mm18 @property (nonatomic, readonly) const CppConcreteSub Prop; // expected-note {{property declared he… property
25 @synthesize Prop; // expected-error {{synthesized instance variable type 'const CppConcreteSub' is …
/llvm-project/llvm/include/llvm/Support/
H A DJSON.h856 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument
858 if (const Value *E = O->get(Prop)) in map()
859 return fromJSON(*E, Out, P.field(Prop)); in map()
860 P.field(Prop).report("missing value"); in map()
867 template <typename T> bool map(StringLiteral Prop, std::optional<T> &Out) { in map() argument
869 if (const Value *E = O->get(Prop)) in map()
870 return fromJSON(*E, Out, P.field(Prop)); in map()
878 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() argument
880 if (const Value *E = O->get(Prop)) in mapOptional()
881 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.h150 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); }
/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.h256 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); }
249 hasProperty(enum SDNP Prop) hasProperty() argument
/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp78 for (auto *Prop : D->instance_properties()) { in collectProperties() local
79 SourceLocation Loc = Prop->getAtLoc(); in collectProperties()
86 props.push_back(Prop); in collectProperties()
/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h540 DbgValue(ArrayRef<DbgOpID> DbgOps, const DbgValueProperties &Prop)
541 : OpCount(DbgOps.size()), BlockNo(0), Properties(Prop), Kind(Def) {
544 assert(DbgOps.size() == Prop.getLocationOpCount());
561 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind)
562 : OpCount(0), BlockNo(BlockNo), Properties(Prop), Kind(Kind) {
566 DbgValue(const DbgValueProperties &Prop, KindT Kind)
567 : OpCount(0), BlockNo(0), Properties(Prop), Kind(Kind) {
/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h57 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCMemberwiseInitializer.cpp115 for (const auto *Prop : ID->properties()) { in getAllParams() local
116 MethodParameter P(*Prop); in getAllParams()
/llvm-project/offload/plugins-nextgen/cuda/src/
H A Drtl.cpp667 CUmemAllocationProp Prop = {}; in memoryVAMap()
682 Prop.type = CU_MEM_ALLOCATION_TYPE_PINNED; in memoryVAMap()
683 Prop.location.type = CU_MEM_LOCATION_TYPE_DEVICE; in memoryVAMap()
685 Prop.location.id = DeviceId; in memoryVAMap()
686 cuMemGetAllocationGranularity(&Granularity, &Prop, in memoryVAMap()
700 Res = cuMemCreate(&AHandle, Size, &Prop, 0); in memoryVAMap()
679 CUmemAllocationProp Prop = {}; memoryVAMap() local
/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp108 for (const auto& Prop : V.properties()) in dump() local
109 JOS.attributeObject(("p:" + Prop.first()).str(), in dump()
110 [&] { dump(*Prop.second); }); in dump()

12