Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp233 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { in Prop() function in __anon529848570111::GenericTaintRule
494 P, GenericTaintRule::Prop(std::move(SrcDesc), std::move(DstDesc)), Rules); in parseConfig()
560 {{{"atoi"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
561 {{{"atol"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
562 {{{"atoll"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
563 {{{"fgetc"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
564 {{{"fgetln"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules()
565 {{{"fgets"}}, TR::Prop({{2}}, {{0, ReturnValueIndex}})}, in initTaintRules()
566 {{{"fscanf"}}, TR::Prop({{0}}, {{}, 2})}, in initTaintRules()
567 {{{"fscanf_s"}}, TR::Prop({{0}}, {{}, {2}})}, 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.cpp946 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
947 if (!Prop) in getValueReleasedByNillingOut()
950 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp149 const OpCodeProperty &Prop) { in constructOverloadName() argument
151 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop)).str(); in constructOverloadName()
153 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop) + "." + in constructOverloadName()
223 static FunctionType *getDXILOpFunctionType(const OpCodeProperty *Prop, in getDXILOpFunctionType() argument
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()
248 std::string FnName = constructOverloadName(Kind, OverloadTy, *Prop); in getOrCreateDXILOpFunction()
253 FunctionType *DXILOpFT = getDXILOpFunctionType(Prop, OverloadTy); in getOrCreateDXILOpFunction()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp107 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument
116 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol()
117 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true); in CheckPropertyAgainstProtocol()
123 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol()
866 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols() local
868 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols()
869 Property = Prop.value(); in SelectPropertyForSynthesisFromProtocols()
870 SelectedIndex = Prop.index(); in SelectPropertyForSynthesisFromProtocols()
890 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols() member
895 for (ObjCPropertyDecl *Prop : Properties) { in SelectPropertyForSynthesisFromProtocols()
[all …]
H A DScopeInfo.cpp133 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
134 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
152 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
153 assert(Msg && Prop); in recordUseOfWeak()
155 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
199 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
202 Prop)); in markSafeWeakUse()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DBodyFarm.cpp745 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() argument
746 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
757 if (!Prop->isReadOnly()) in findBackingIvar()
760 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()
776 Prop->getIdentifier(), Prop->getQueryKind()); in findBackingIvar()
777 if (ShadowingProp && ShadowingProp != Prop) { in findBackingIvar()
788 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter() local
799 Prop = Candidate; in createObjCPropertyGetter()
800 IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter()
807 Prop = MD->findPropertyDecl(); in createObjCPropertyGetter()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp238 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty() local
239 if (Prop->isInstanceProperty() == IsInstance) { in getProperty()
240 return Prop; in getProperty()
407 for (auto *Prop : properties()) { in collectPropertiesToImplement() local
408 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
412 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() local
413 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
1461 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) in findPropertyDecl() local
1462 return Prop; in findPropertyDecl()
2050 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
[all …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h141 bool hasProperty(enum SDNP Prop) const { in hasProperty()
142 return Properties & (1 << Prop); in hasProperty()
H A DCodeGenTarget.h219 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
H A DCodeGenDAGPatterns.h481 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DJSON.h833 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument
835 if (const Value *E = O->get(Prop)) in map()
836 return fromJSON(*E, Out, P.field(Prop)); in map()
837 P.field(Prop).report("missing value"); in map()
844 template <typename T> bool map(StringLiteral Prop, std::optional<T> &Out) { in map() argument
846 if (const Value *E = O->get(Prop)) in map()
847 return fromJSON(*E, Out, P.field(Prop)); in map()
855 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() argument
857 if (const Value *E = O->get(Prop)) in mapOptional()
858 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h469 DbgValue(ArrayRef<DbgOpID> DbgOps, const DbgValueProperties &Prop)
470 : OpCount(DbgOps.size()), BlockNo(0), Properties(Prop), Kind(Def) {
473 assert(DbgOps.size() == Prop.getLocationOpCount());
490 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind)
491 : OpCount(0), BlockNo(BlockNo), Properties(Prop), Kind(Kind) {
495 DbgValue(const DbgValueProperties &Prop, KindT Kind)
496 : OpCount(0), BlockNo(0), Properties(Prop), Kind(Kind) {
/openbsd-src/gnu/llvm/clang/include/clang/Index/
H A DUSRGeneration.h54 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DType.cpp864 bool TargetExtType::hasProperty(Property Prop) const { in hasProperty()
866 return (Properties & Prop) == Prop; in hasProperty()
/openbsd-src/gnu/llvm/llvm/lib/BinaryFormat/
H A DDwarf.cpp566 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
567 switch (Prop) { in ApplePropertyString()
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
H A Distream_extractor_other-2.tst22 /mnt/cdrom/yabbyyou_jesusdread/disk_2/Vivian Jackson and the Prop
H A Distream_extractor_other-1.tst22 /mnt/cdrom/yabbyyou_jesusdread/disk_2/Vivian Jackson and the Prop
H A Distream_extractor_other-1.txt22 /mnt/cdrom/yabbyyou_jesusdread/disk_2/Vivian Jackson and the Prop
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexSymbol.cpp592 applyForEachSymbolProperty(Props, [&](SymbolProperty Prop) { in printSymbolProperties() argument
597 switch (Prop) { in printSymbolProperties()
H A DUSRGeneration.cpp1110 void clang::index::generateUSRForObjCProperty(StringRef Prop, bool isClassProp, in generateUSRForObjCProperty() argument
1112 OS << (isClassProp ? "(cpy)" : "(py)") << Prop; in generateUSRForObjCProperty()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5354 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
5355 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5357 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
5359 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
5362 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData()
5367 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) in RewriteObjCClassMetaData()
5632 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
5633 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
5635 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
5637 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp780 auto *Prop = OptionalVal->getProperty("has_value"); in diagnoseUnwrapCall() local
781 if (auto *HasValueVal = cast_or_null<BoolValue>(Prop)) { in diagnoseUnwrapCall()

12