| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.require/ |
| H A D | bullet_4_5_6.pass.cpp | 56 template <class ObjectType> 63 typedef TestMemberObject<ObjectType> TestType; 79 typedef ObjectType (TestType::*MemPtr); in doTest() typedef 80 typedef ObjectType E; in doTest() 94 typedef ObjectType const (TestType::*CMemPtr); in doTest() 95 typedef ObjectType const E; in doTest() 110 typedef ObjectType volatile E; in doTest() 125 typedef ObjectType const volatile E; in doTest() 177 void runTest(Fn M, const T& obj, ObjectType* expect) { in runTest() 187 void runTest(Fn M, T&& obj, ObjectType* expect) { in runTest() [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | DynamicTypePropagation.m | 26 @interface NSArray<ObjectType> : NSObject 28 - (BOOL)contains:(ObjectType)obj; argument 29 - (ObjectType)getObjAtIndex:(NSUInteger)idx; 30 - (ObjectType)objectAtIndexedSubscript:(NSUInteger)idx; 31 @property(readonly) ObjectType firstObject;
|
| H A D | generics.m | 41 @interface NSArray<__covariant ObjectType> : NSObject 44 + (NSArray<ObjectType> *)getEmpty2; 45 - (BOOL)contains:(ObjectType)obj; argument 46 - (BOOL)containsObject:(ObjectType)anObject; argument 47 - (ObjectType)getObjAtIndex:(NSUInteger)idx; 49 - (NSArray<ObjectType> *)arrayByAddingObject:(ObjectType)anObject; argument 50 @property(readonly) ObjectType firstObject; 53 @interface NSMutableArray<ObjectType> : NSArray<ObjectType> 54 - (void)addObject:(ObjectType)anObject; argument 58 @interface MutableArray<ObjectType> : NSArray<ObjectType> [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 399 QualType ObjectType = GetTypeFromParser(IdInfo.ObjectType); in isNonTypeNestedNameSpecifier() local 406 if (!ObjectType.isNull()) { in isNonTypeNestedNameSpecifier() 410 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier() 411 isDependent = ObjectType->isDependentType(); in isNonTypeNestedNameSpecifier() 508 QualType ObjectType = GetTypeFromParser(IdInfo.ObjectType); in BuildCXXNestedNameSpecifier() local 515 if (!ObjectType.isNull()) { in BuildCXXNestedNameSpecifier() 519 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier() 520 isDependent = ObjectType->isDependentType(); in BuildCXXNestedNameSpecifier() 543 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier() 674 if (!ObjectType.isNull() && !ObjectTypeSearchedInScope && in BuildCXXNestedNameSpecifier() [all …]
|
| H A D | SemaExprCXX.cpp | 7632 ObjectType = Base->getType(); in CheckArrow() 7644 if (ObjectType->isPointerType() || ObjectType->isArrayType() || in CheckArrow() 7650 ObjectType = Base->getType(); in CheckArrow() 7658 << ObjectType << true in CheckArrow() 7698 QualType ObjectType; in BuildPseudoDestructorExpr() local 7702 if (!ObjectType->isDependentType() && !ObjectType->isScalarType() && in BuildPseudoDestructorExpr() 7822 QualType ObjectType; in ActOnPseudoDestructorExpr() local 7830 if (ObjectType->isRecordType()) in ActOnPseudoDestructorExpr() 7863 DestructedType = ObjectType; in ActOnPseudoDestructorExpr() 7883 DestructedType = ObjectType; in ActOnPseudoDestructorExpr() [all …]
|
| H A D | SemaDeclObjC.cpp | 3688 QualType ObjectType) { in HelperIsMethodInObjCType() argument 3689 if (ObjectType.isNull()) in HelperIsMethodInObjCType() 3699 QualType ObjectType) { in SelectorsForTypoCorrection() argument 3703 if (ObjectType.isNull()) in SelectorsForTypoCorrection() 3705 else if (!ObjectType->isObjCObjectPointerType()) in SelectorsForTypoCorrection() 3708 ObjectType->getAsObjCInterfacePointerType()) { in SelectorsForTypoCorrection() 3709 ObjectType = QualType(ObjCPtr->getInterfaceType(), 0); in SelectorsForTypoCorrection() 3712 else if (ObjectType->isObjCIdType() || ObjectType->isObjCQualifiedIdType()) in SelectorsForTypoCorrection() 3714 else if (ObjectType->isObjCClassType() || ObjectType->isObjCQualifiedClassType()) in SelectorsForTypoCorrection() 3730 ObjectType)) in SelectorsForTypoCorrection() [all …]
|
| H A D | TreeTransform.h | 562 QualType ObjectType = QualType(), 3805 QualType ObjectType, 4123 NestedNameSpecifierLoc NNS, QualType ObjectType, in TransformNestedNameSpecifierLoc() argument 4139 ObjectType); in TransformNestedNameSpecifierLoc() 4210 ObjectType = QualType(); in TransformNestedNameSpecifierLoc() 4322 ObjectType = QualType(); in TransformTemplateName() 4328 ObjectType.isNull()) in TransformTemplateName() 12239 QualType ObjectType = ObjectTypePtr.get(); in TransformCXXPseudoDestructorExpr() local 12258 } else if (!ObjectType.isNull() && ObjectType->isDependentType()) { in TransformCXXPseudoDestructorExpr() 13386 QualType ObjectType; in TransformCXXDependentScopeMemberExpr() local [all …]
|
| H A D | SemaTemplate.cpp | 205 QualType ObjectType = ObjectTypePtr.get(); in isTemplateName() local 377 QualType ObjectType, in LookupTemplateName() argument 395 if (!ObjectType.isNull()) { in LookupTemplateName() 399 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName() 419 if (ObjectType->isObjCObjectOrInterfaceType() || in LookupTemplateName() 420 ObjectType->isVectorType()) { in LookupTemplateName() 468 if (!ObjectType.isNull()) { in LookupTemplateName() 482 if (ATK && SS.isEmpty() && ObjectType.isNull() && in LookupTemplateName() 605 << ObjectType; in LookupTemplateName() 608 << ObjectType; in LookupTemplateName() [all …]
|
| H A D | SemaExprMember.cpp | 657 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord() local 660 return SemaRef.LookupTemplateName(R, nullptr, SS, ObjectType, false, MOUS, in LookupMemberExprInRecord() 1004 ParsedType ObjectType; in BuildMemberReferenceExpr() local 1007 OpLoc, tok::arrow, ObjectType, in BuildMemberReferenceExpr()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 262 ObjectType = nullptr; in ParseOptionalCXXScopeSpecifier() 274 if (!HasScopeSpecifier && !ObjectType) in ParseOptionalCXXScopeSpecifier() 391 ObjectType); in ParseOptionalCXXScopeSpecifier() 1707 ParsedType ObjectType) { in ParseCXXPseudoDestructor() argument 2442 if (ObjectType) { in ParseUnqualifiedIdTemplateId() 2808 if (TemplateKWLoc && (ObjectType || SS.isSet())) { in ParseUnqualifiedId() 2857 SS, ObjectType, ObjectHadErrors, in ParseUnqualifiedId() 2916 if (TemplateKWLoc && (ObjectType || SS.isSet())) in ParseUnqualifiedId() 2943 SS, ObjectType, ObjectHadErrors, in ParseUnqualifiedId() 3015 ObjectType = nullptr; in ParseUnqualifiedId() [all …]
|
| H A D | ParseExpr.cpp | 2121 ParsedType ObjectType; in ParsePostfixExpressionSuffix() local 2140 OpKind, ObjectType, in ParsePostfixExpressionSuffix() 2153 SS, ObjectType, LHS.get() && LHS.get()->containsErrors(), in ParsePostfixExpressionSuffix() 2156 ObjectType = nullptr; in ParsePostfixExpressionSuffix() 2168 getCurScope(), OrigLHS, OpLoc, CorrectedOpKind, ObjectType, in ParsePostfixExpressionSuffix() 2189 ObjectType); in ParsePostfixExpressionSuffix() 2215 SS, ObjectType, LHS.get() && LHS.get()->containsErrors(), in ParsePostfixExpressionSuffix()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | kindof.m | 391 @interface NSGeneric<ObjectType> : NSObject 392 - (void)test:(__kindof ObjectType)T; // expected-note{{passing argument to parameter 'T' here}} argument 393 - (void)mapUsingBlock:(id (^)(__kindof ObjectType))block; argument 394 @property (copy) ObjectType object; 395 @property (copy) __kindof ObjectType kindof_object; 397 @property (copy) __kindof ObjectType _Nonnull nonnull_kindof_object; 406 @interface NSDefaultGeneric<ObjectType : NSString *> : NSObject 407 @property (copy) ObjectType object; 408 @property (copy) __kindof ObjectType kindof_object;
|
| H A D | parameterized_classes_subst.m | 439 @interface MyMutableDictionary<KeyType, ObjectType> : NSObject 440 - (void)setObject:(ObjectType)obj forKeyedSubscript:(KeyType <NSCopying>)key; // expected-note{{pas… argument
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.cpp | 37 ObjectType = 1 << 10, enumerator 61 case OverloadKind::ObjectType: in getOverloadTypeName() 102 return OverloadKind::ObjectType; in getOverloadKind() 115 } else if (Kind == OverloadKind::ObjectType) { in getTypeName()
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_type_hash_itanium.cpp | 254 const abi::__class_type_info *ObjectType = findBaseAtOffset( in getDynamicTypeInfoFromVtable() local 258 ObjectType ? ObjectType->__type_name : "<unknown>"); in getDynamicTypeInfoFromVtable()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MIRYamlMapping.h | 241 enum ObjectType { DefaultType, SpillSlot, VariableSized }; 245 ObjectType Type = DefaultType; 269 template <> struct ScalarEnumerationTraits<MachineStackObject::ObjectType> { 270 static void enumeration(yaml::IO &IO, MachineStackObject::ObjectType &Type) { 309 enum ObjectType { DefaultType, SpillSlot }; 311 ObjectType Type = DefaultType; 337 struct ScalarEnumerationTraits<FixedMachineStackObject::ObjectType> { 339 FixedMachineStackObject::ObjectType &Type) {
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | overload.mm | 178 @interface NSDictionary<__covariant KeyType, __covariant ObjectType> : A 181 @interface NSMutableDictionary<KeyType, ObjectType> : NSDictionary<KeyType, ObjectType>
|
| /llvm-project-15.0.7/clang/test/FixIt/Inputs/ |
| H A D | nullability-objc.h | 2 @class Container<ObjectType>;
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | objcxx11-protocol-in-template.mm | 15 @class NSArray<ObjectType>;
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | parameterized_classes.m | 110 @interface P0<ObjectType> : NSObject 111 - (void)m0:(ObjectType *)first; argument
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/ |
| H A D | objc-avoid-nsobject-new.m | 18 @interface NSMutableDictionary<__covariant KeyType, __covariant ObjectType> : NSObject
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Value.cpp | 931 Type *ObjectType = GVar->getValueType(); in getPointerAlignment() local 932 if (ObjectType->isSized()) { in getPointerAlignment() 939 return DL.getABITypeAlign(ObjectType); in getPointerAlignment()
|
| /llvm-project-15.0.7/clang/test/Index/Core/ |
| H A D | index-source.m | 83 @interface NSArray<ObjectType> : Base 84 // CHECK-NOT: ObjectType 85 -(ObjectType)getit; 239 @interface MyGenCls<ObjectType> : Base
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 2536 ParsedType ObjectType = nullptr, 3864 QualType ObjectType, 3884 QualType ObjectType, 4840 QualType ObjectType=QualType()); 6375 ParsedType ObjectType, 6379 ParsedType ObjectType); 6771 ParsedType ObjectType; member 6785 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType() function 6791 : ObjectType(ParsedType::make(ObjectType)), Identifier(II), in NestedNameSpecInfo() 7667 QualType ObjectType) { in isMemberAccessibleForDeletion() argument [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 1883 ParsedType ObjectType, 1937 ParsedType ObjectType); 3129 ParsedType ObjectType, 3138 ParsedType ObjectType, 3358 bool ParseUnqualifiedId(CXXScopeSpec &SS, ParsedType ObjectType,
|