/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | DeclObjC.cpp | 135 if (const auto *ID = dyn_cast<ObjCInterfaceDecl>(this)) { in HasUserDeclaredSetterMethod() 163 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod() 191 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl() 249 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() 273 const auto *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration() 289 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration() 307 void ObjCInterfaceDecl::anchor() {} in anchor() 309 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList() 315 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList() 321 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | DeclObjC.h | 53 class ObjCInterfaceDecl; variable 318 ObjCInterfaceDecl *getClassInterface(); 319 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() 416 void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID); 420 QualType getSelfType(ASTContext &Context, const ObjCInterfaceDecl *OID, 1148 class ObjCInterfaceDecl : public ObjCContainerDecl 1149 , public Redeclarable<ObjCInterfaceDecl> { 1159 ObjCInterfaceDecl *Definition = nullptr; 1229 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, 1231 SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl, [all …]
|
H A D | ASTMutationListener.h | 32 class ObjCInterfaceDecl; variable 109 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface()
|
H A D | ASTContext.h | 117 class ObjCInterfaceDecl; variable 356 mutable ObjCInterfaceDecl *ObjCProtocolClassDecl = nullptr; 1556 QualType getObjCInterfaceType(const ObjCInterfaceDecl *Decl, 1557 ObjCInterfaceDecl *PrevDecl = nullptr) const; 1574 bool ObjCObjectAdoptsQTypeProtocols(QualType QT, ObjCInterfaceDecl *Decl); 1580 ObjCInterfaceDecl *IDecl); 1698 void setObjCConstantStringInterface(ObjCInterfaceDecl *Decl); 1940 ObjCInterfaceDecl *getObjCProtocolDecl() const; 2293 const ASTRecordLayout &getASTObjCInterfaceLayout(const ObjCInterfaceDecl *D) 2343 uint64_t lookupFieldBitOffset(const ObjCInterfaceDecl *OID, [all …]
|
H A D | NSAPI.h | 18 class ObjCInterfaceDecl; variable 228 bool isSubclassOfNSClass(ObjCInterfaceDecl *InterfaceDecl,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaDeclObjC.cpp | 60 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod() 74 const ObjCInterfaceDecl *receiverClass = nullptr; in checkInitMethod() 148 ObjCInterfaceDecl *CurrentClass in CheckObjCMethodOverride() 149 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext()); in CheckObjCMethodOverride() 437 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef() 447 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef() 451 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef() 477 if (const ObjCInterfaceDecl *SuperClass = IC->getSuperClass()) { in ActOnStartOfObjCMethodDef() 507 explicit ObjCInterfaceValidatorCCC(ObjCInterfaceDecl *IDecl) in ObjCInterfaceValidatorCCC() 511 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate() [all …]
|
H A D | SemaObjCProperty.cpp | 221 (isa<ObjCInterfaceDecl>(ClassDecl) || in ActOnProperty() 229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() 232 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; in ActOnProperty() 233 while (ObjCInterfaceDecl *Super = CurrentInterfaceDecl->getSuperClass()) { in ActOnProperty() 423 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 595 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); in CreatePropertyDecl() 839 ObjCInterfaceDecl *ClassDecl, in SelectPropertyForSynthesisFromProtocols() 843 ObjCInterfaceDecl::ProtocolPropertySet ProtocolSet; in SelectPropertyForSynthesisFromProtocols() 844 ObjCInterfaceDecl::PropertyDeclOrder Properties; in SelectPropertyForSynthesisFromProtocols() 850 if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass()) { in SelectPropertyForSynthesisFromProtocols() [all …]
|
H A D | SemaExprObjC.cpp | 104 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral() 119 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral() 130 ObjCInterfaceDecl *NSStringIDecl = in BuildObjCStringLiteral() 131 ObjCInterfaceDecl::Create (Context, in BuildObjCStringLiteral() 148 const ObjCInterfaceDecl *Class, in validateBoxingMethod() 196 static bool ValidateObjCLiteralInterfaceDecl(Sema &S, ObjCInterfaceDecl *Decl, in ValidateObjCLiteralInterfaceDecl() 218 static ObjCInterfaceDecl *LookupObjCInterfaceDeclForLiteral(Sema &S, in LookupObjCInterfaceDeclForLiteral() 225 ObjCInterfaceDecl *ID = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in LookupObjCInterfaceDeclForLiteral() 229 ID = ObjCInterfaceDecl::Create (Context, TU, SourceLocation(), II, in LookupObjCInterfaceDeclForLiteral() 1276 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass() [all …]
|
H A D | SemaAvailability.cpp | 65 ObjCInterfaceDecl *ClassReceiver) { in ShouldDiagnoseAvailabilityOfDecl() 82 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() 163 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 169 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 315 const ObjCInterfaceDecl *UnknownObjCClass, in DoEmitAvailabilityWarning() 559 const ObjCInterfaceDecl *UnknownObjCClass, in EmitAvailabilityWarning() 660 ObjCInterfaceDecl *ClassReceiver = nullptr); 703 ObjCInterfaceDecl *ID = nullptr; in VisitObjCMessageExpr() 736 NamedDecl *D, SourceRange Range, ObjCInterfaceDecl *ReceiverClass) { in DiagnoseDeclAvailability() 924 const ObjCInterfaceDecl *UnknownObjCClass, in DiagnoseAvailabilityOfDecl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.h | 47 class ObjCInterfaceDecl; variable 80 const ObjCInterfaceDecl *OID, 87 const ObjCInterfaceDecl *OID, 173 const ObjCInterfaceDecl *Class = nullptr, 187 const ObjCInterfaceDecl *OID, 202 const ObjCInterfaceDecl *Class, 272 const ObjCInterfaceDecl *OID) = 0; 309 const ObjCInterfaceDecl *Interface, 344 const ObjCInterfaceDecl *ID,
|
H A D | CGObjCMac.cpp | 906 SmallVector<const ObjCInterfaceDecl*, 16> ImplementedClasses; 1031 const ObjCInterfaceDecl *ID, 1075 const ObjCInterfaceDecl *ClassReceiver, 1241 const ObjCInterfaceDecl *ID); 1249 llvm::Value *EmitSuperClassRef(const ObjCInterfaceDecl *ID); 1262 llvm::Constant *EmitMetaClassRef(const ObjCInterfaceDecl *ID); 1323 const ObjCInterfaceDecl *Class, 1329 Selector Sel, const ObjCInterfaceDecl *Class, 1335 const ObjCInterfaceDecl *ID) override; 1393 const ObjCInterfaceDecl *Interface, [all …]
|
H A D | CGObjCGNU.cpp | 517 virtual std::string GetIVarOffsetVariableName(const ObjCInterfaceDecl *ID, in GetIVarOffsetVariableName() 524 llvm::GlobalVariable *ObjCIvarOffsetVariable(const ObjCInterfaceDecl *ID, 574 const ObjCInterfaceDecl *Class, 579 const ObjCInterfaceDecl *Class, 584 const ObjCInterfaceDecl *OID) override; 653 const ObjCInterfaceDecl *Interface, 1234 const ObjCInterfaceDecl *OID = nullptr; in GetClassVar() 1236 if ((OID = dyn_cast<ObjCInterfaceDecl>(Result))) in GetClassVar() 1243 const ObjCInterfaceDecl *OIDDef = OID->getDefinition(); in GetClassVar() 1675 std::string GetIVarOffsetVariableName(const ObjCInterfaceDecl *ID, in GetIVarOffsetVariableName() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DirectIvarAssignment.cpp | 62 const ObjCInterfaceDecl *InterfD; 69 const ObjCInterfaceDecl *InID, BugReporter &InBR, in MethodCrawler() 95 const ObjCInterfaceDecl *InterD, in findPropertyBackingIvar() 102 ObjCInterfaceDecl *NonConstInterD = const_cast<ObjCInterfaceDecl*>(InterD); in findPropertyBackingIvar() 119 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
|
H A D | IvarInvalidationChecker.cpp | 193 const ObjCInterfaceDecl *InterfaceD, 205 const ObjCInterfaceDecl *InterfaceD, 254 if (const ObjCInterfaceDecl *InterfD = dyn_cast<ObjCInterfaceDecl>(D)) { in containsInvalidationMethod() 285 const ObjCInterfaceDecl *IvInterf = IvTy->getInterfaceDecl(); in trackIvar() 301 const ObjCInterfaceDecl *InterfaceD, in findPropertyBackingIvar() 366 const ObjCInterfaceDecl *InterfaceD = ImplD->getClassInterface(); in visit() 369 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit() 381 ObjCInterfaceDecl::PropertyMap PropMap; in visit() 382 ObjCInterfaceDecl::PropertyDeclOrder PropOrder; in visit() 385 for (ObjCInterfaceDecl::PropertyMap::iterator in visit() [all …]
|
H A D | BasicObjCFoundationChecks.cpp | 53 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) in GetReceiverInterfaceName() 69 static FoundationClass findKnownClass(const ObjCInterfaceDecl *ID, in findKnownClass() 85 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in findKnownClass() 222 const ObjCInterfaceDecl *ID = msg.getReceiverInterface(); in checkPreObjCMessage() 621 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage() 684 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage() 697 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in isVariadicMessage() 835 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl(); in isKnownNonNilCollectionType() 1015 const ObjCInterfaceDecl *ClassID = M.getReceiverInterface(); in checkPostObjCMessage() 1061 const ObjCInterfaceDecl *StaticClass; in getMethodReceiverIfKnownImmutable() [all …]
|
H A D | ObjCPropertyChecker.cpp | 57 if (const ObjCInterfaceDecl *IntD = in checkCopyMutable() 58 dyn_cast<ObjCInterfaceDecl>(D->getDeclContext())) { in checkCopyMutable()
|
H A D | TrustNonnullChecker.cpp | 97 const ObjCInterfaceDecl *ID = Msg.getReceiverInterface(); in checkPostObjCMessage() 196 bool interfaceHasSuperclass(const ObjCInterfaceDecl *ID, in interfaceHasSuperclass() 201 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in interfaceHasSuperclass()
|
H A D | CheckObjCInstMethSignature.cpp | 82 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature() 83 const ObjCInterfaceDecl *C = D->getSuperClass(); in CheckObjCInstMethSignature()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CXCursor.h | 35 class ObjCInterfaceDecl; variable 61 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, 66 std::pair<const ObjCInterfaceDecl *, SourceLocation> 79 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, 84 std::pair<const ObjCInterfaceDecl *, SourceLocation>
|
H A D | CXIndexDataConsumer.cpp | 68 bool VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) { in VisitObjCInterfaceDecl() 167 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 241 ObjCInterfaceDecl::protocol_loc_iterator LI = ProtList.loc_begin(); in ObjCProtocolListInfo() 242 for (ObjCInterfaceDecl::protocol_iterator in ObjCProtocolListInfo() 318 if (const ObjCInterfaceDecl *InterD = ObjectTy->getInterface()) { in AttrListInfo() 656 bool CXIndexDataConsumer::handleObjCInterface(const ObjCInterfaceDecl *D) { in handleObjCInterface() 677 if (ObjCInterfaceDecl *SuperD = D->getSuperClass()) { in handleObjCInterface() 746 const ObjCInterfaceDecl *IFaceD = D->getClassInterface(); in handleObjCCategory() 779 const ObjCInterfaceDecl *IFaceD = CatD->getClassInterface(); in handleObjCCategoryImpl() 1197 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(D)) in getRefCursor() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | DelayedDiagnostic.h | 43 class ObjCInterfaceDecl; variable 139 const ObjCInterfaceDecl *UnknownObjCClass, 221 const ObjCInterfaceDecl *getUnknownObjCClass() const { in getUnknownObjCClass() 237 const ObjCInterfaceDecl *UnknownObjCClass;
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | ObjCNoReturn.cpp | 20 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass() 56 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 113 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCSynthesizedStructs; 115 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCWrittenInterfaces; 117 SmallVector<ObjCInterfaceDecl*, 32> ObjCInterfacesSeen; 119 SmallVector<ObjCInterfaceDecl*, 8> DefinedNonLazyClasses; 148 llvm::DenseMap<ObjCInterfaceDecl *, 152 llvm::DenseSet<const ObjCInterfaceDecl *> ObjCInterefaceHasBitfieldGroups; 156 llvm::DenseMap<std::pair<const ObjCInterfaceDecl*, unsigned>, QualType> GroupRecordType; 192 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl() 316 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 322 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl); [all …]
|
H A D | RewriteObjC.cpp | 111 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCSynthesizedStructs; 113 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCForwardDecls; 172 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl() 264 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 270 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl); 272 void RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, 322 void RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, 667 } else if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(D)) { in HandleTopLevelSingleDecl() 680 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() 685 if (isa<ObjCInterfaceDecl>(*DI) && in HandleTopLevelSingleDecl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 31 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); in checkForLiteralCreation() 107 static const ObjCInterfaceDecl * 108 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, in maybeAdjustInterfaceForSubscriptingCheck() 144 const ObjCInterfaceDecl *OID = ObjTy->getInterface(); in maybeAdjustInterfaceForSubscriptingCheck() 155 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, in canRewriteToSubscriptSyntax() 202 static bool rewriteToArraySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptGet() 212 static bool rewriteToDictionarySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptGet() 222 static bool rewriteToArraySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptSet() 256 static bool rewriteToDictionarySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptSet() 298 const ObjCInterfaceDecl *IFace = in rewriteToObjCSubscriptSyntax()
|