Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp566 {{"fscanf"}, TR::Prop({{0}}, {{}, 2})}, in initTaintRules()
567 {{"fscanf_s"}, TR::Prop({{0}}, {{}, {2}})}, in initTaintRules()
568 {{"sscanf"}, TR::Prop({{0}}, {{}, 2})}, in initTaintRules()
572 {{"getdelim"}, TR::Prop({{3}}, {{0}})}, in initTaintRules()
573 {{"getline"}, TR::Prop({{2}}, {{0}})}, in initTaintRules()
620 {{"qsort"}, TR::Prop({{0}}, {{0}})}, in initTaintRules()
621 {{"qsort_r"}, TR::Prop({{0}}, {{0}})}, in initTaintRules()
656 TR::Prop({{1, 2}}, {{0}})}, in initTaintRules()
658 TR::Prop({{1, 2}}, {{0}})}, in initTaintRules()
664 TR::Prop({{1}}, {{0, ReturnValueIndex}})}, in initTaintRules()
[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.cpp945 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
946 if (!Prop) in getValueReleasedByNillingOut()
949 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp153 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop) + "." + in constructOverloadName()
227 auto ParamKinds = getOpCodeParameterKind(*Prop); in getDXILOpFunctionType()
229 for (unsigned I = 0; I < Prop->NumOfParameters; ++I) { in getDXILOpFunctionType()
239 const OpCodeProperty *Prop = getOpCodeProperty(DXILOp); in getOrCreateDXILOpFunction() local
244 if ((Prop->OverloadTys & (uint16_t)Kind) == 0) { in getOrCreateDXILOpFunction()
272 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); in getOverloadTy() local
273 if (Prop->OverloadParamIndex < 0) { in getOverloadTy()
276 switch (Prop->OverloadTys) { in getOverloadTy()
303 if (Prop->OverloadParamIndex != 0) { in getOverloadTy()
309 auto ParamKinds = getOpCodeParameterKind(*Prop); in getOverloadTy()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp116 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol()
1764 PropMap[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = in CollectImmediateProperties()
1765 Prop; in CollectImmediateProperties()
1784 PropMap[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = in CollectImmediateProperties()
1785 Prop; in CollectImmediateProperties()
1809 PropEntry = Prop; in CollectImmediateProperties()
1908 Prop->getIdentifier(), Prop->getQueryKind())) in DefaultSynthesizeProperties()
1975 Prop->getLocation(), Prop->getQueryKind())); in DefaultSynthesizeProperties()
2132 PrimaryClass, Prop->getGetterName(), IMPDecl, CDecl, C, Prop, InsMap); in DiagnoseUnimplementedProperties()
2173 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in AtomicPropertySetterGetterRules()
[all …]
H A DScopeInfo.cpp132 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
133 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
151 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
152 assert(Msg && Prop); in recordUseOfWeak()
154 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
198 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
201 Prop)); in markSafeWeakUse()
/llvm-project-15.0.7/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-15.0.7/clang/test/ARCMT/
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
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;
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp745 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
756 if (!Prop->isReadOnly()) in findBackingIvar()
775 Prop->getIdentifier(), Prop->getQueryKind()); in findBackingIvar()
776 if (ShadowingProp && ShadowingProp != Prop) { in findBackingIvar()
787 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter() local
798 Prop = Candidate; in createObjCPropertyGetter()
799 IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter()
806 Prop = MD->findPropertyDecl(); in createObjCPropertyGetter()
807 IVar = findBackingIvar(Prop); in createObjCPropertyGetter()
810 if (!IVar || !Prop) in createObjCPropertyGetter()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dforward-protocol-incomplete-impl-warn.m8 @property int Prop; // expected-note {{property declared here}} property
18 … expected-warning {{auto property synthesis will not synthesize property 'Prop' declared in protoc…
H A Dobjc-independent-class-attribute.m20 @property (copy) NSObject *__attribute__((objc_independent_class)) Prop; // expected-warning {{'obj… property
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp240 return Prop; in getProperty()
409 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
410 PO.push_back(Prop); in collectPropertiesToImplement()
415 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
416 PO.push_back(Prop); in collectPropertiesToImplement()
1427 return Prop; in findPropertyDecl()
2007 std::make_pair(Prop->getIdentifier(), Prop->isClassProperty()), in collectPropertiesToImplement()
2008 Prop)); in collectPropertiesToImplement()
2009 PO.push_back(Prop); in collectPropertiesToImplement()
2024 if (Prop == Property) in collectInheritedProtocolProperties()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dabstract-class-type-ivar.mm20 @property (nonatomic, readonly) const CppConcreteSub Prop; // expected-note {{property declared he… property
27 @synthesize Prop; // expected-error {{synthesized instance variable type 'const CppConcreteSub' is …
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DJSON.h832 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument
834 if (const Value *E = O->get(Prop)) in map()
835 return fromJSON(*E, Out, P.field(Prop)); in map()
836 P.field(Prop).report("missing value"); in map()
843 template <typename T> bool map(StringLiteral Prop, llvm::Optional<T> &Out) { in map() argument
845 if (const Value *E = O->get(Prop)) in map()
846 return fromJSON(*E, Out, P.field(Prop)); in map()
854 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() argument
856 if (const Value *E = O->get(Prop)) in mapOptional()
857 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h255 DbgValue(const ValueIDNum &Val, const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
256 : ID(Val), MO(None), BlockNo(0), Properties(Prop), Kind(Kind) { in DbgValue()
260 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
262 Properties(Prop), Kind(Kind) { in DbgValue()
266 DbgValue(const MachineOperand &MO, const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
267 : ID(ValueIDNum::EmptyValue), MO(MO), BlockNo(0), Properties(Prop), in DbgValue()
272 DbgValue(const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
273 : ID(ValueIDNum::EmptyValue), MO(None), BlockNo(0), Properties(Prop), in DbgValue()
H A DInstrRefBasedImpl.cpp436 const DbgValueProperties &Prop, in recoverAsEntryValue() argument
444 if (!isEntryValueVariable(Var, Prop.DIExpr)) in recoverAsEntryValue()
453 DIExpression::prepend(Prop.DIExpr, DIExpression::EntryValue); in recoverAsEntryValue()
457 PendingDbgValues.push_back(emitMOLoc(MO, Var, {NewExpr, Prop.Indirect})); in recoverAsEntryValue()
564 auto &Prop = ActiveVLocs.find(Var)->second.Properties; in clobberMloc() local
565 recoverAsEntryValue(Var, Prop, OldValue); in clobberMloc()
2425 for (const auto *Prop : Properties) in pickVPHILoc() local
2426 if (*Prop != *Properties0) in pickVPHILoc()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h181 bool hasProperty(enum SDNP Prop) const { in hasProperty()
182 return Properties & (1 << Prop); in hasProperty()
H A DCodeGenTarget.h219 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/llvm-project-15.0.7/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()
H A DObjCMT.cpp252 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() local
253 if (!Prop) in rewriteToPropertyDotSyntax()
280 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
290 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
593 for (auto *Prop : D->instance_properties()) { in migrateObjCContainerDecl() local
595 !Prop->isDeprecated()) in migrateObjCContainerDecl()
596 migratePropertyNsReturnsInnerPointer(Ctx, Prop); in migrateObjCContainerDecl()
/llvm-project-15.0.7/clang/include/clang/Index/
H A DUSRGeneration.h54 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCMemberwiseInitializer.cpp116 for (const auto *Prop : ID->properties()) { in getAllParams() local
117 MethodParameter P(*Prop); in getAllParams()
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DDwarf.cpp565 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
566 switch (Prop) { in ApplePropertyString()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp592 applyForEachSymbolProperty(Props, [&](SymbolProperty Prop) { in printSymbolProperties() argument
597 switch (Prop) { in printSymbolProperties()

12