Searched refs:ivars (Results 1 - 14 of 14) sorted by relevance

/external/lldb/test/lang/objc/blocks/
H A DMakefile3 OBJC_SOURCES := ivars-in-blocks.m main.m
/external/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp1 //==- ObjCUnusedIVarsChecker.cpp - Check for unused ivars --------*- C++ -*-==//
12 // has any ivars that are never accessed.
114 // Iterate over the ivars.
115 for (const auto *Ivar : ID->ivars()) {
116 // Ignore ivars that...
136 // Any potentially unused ivars?
147 // We found some potentially unused ivars. Scan the entire translation unit
148 // for functions inside the @implementation that reference these ivars.
155 // Find ivars that are unused.
H A DCheckObjCDealloc.cpp109 // Does the class contain any ivars that are pointers (or id<...>)?
116 for (const auto *Ivar : ID->ivars()) {
209 // Scan for missing and extra releases of ivars used by implementations
221 if (!T->isObjCObjectPointerType()) // Skip non-pointer ivars
228 // ivars cannot be set via read-only properties, so we'll skip them
/external/clang/tools/libclang/
H A DIndexDecl.cpp167 // Index the ivars first to make sure the synthesized ivars are indexed
169 for (const auto *IvarI : D->ivars())
/external/clang/lib/AST/
H A DDeclPrinter.cpp965 for (const auto *I : OID->ivars()) {
1003 for (const auto *I : OID->ivars()) {
1055 for (const auto *I : PID->ivars())
H A DDeclObjC.cpp1280 for (auto *IV : ImplDecl->ivars()) {
1294 // Order synthesized ivars by their size.
1412 // but unfortunately we sometimes place ivars into non-class extension
H A DASTContext.cpp1809 /// This routine first collects all declared, but not synthesized, ivars in
1810 /// super class and then collects all ivars, including those synthesized for
1812 /// when all ivars, declared and synthesized are known.
1820 for (const auto *I : OI->ivars())
1871 // Count ivars declared in class extension.
1876 // includes synthesized ivars.
5024 // closely resembles encoding of ivars.
5102 // closely resembles encoding of ivars.
/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp1151 ObjCIvarDecl **ivars, unsigned numIvars,
1164 ivars[i]->setLexicalDeclContext(ImpDecl);
1165 IDecl->makeDeclVisibleInContext(ivars[i]);
1166 ImpDecl->addDecl(ivars[i]);
1175 assert(ivars && "missing @implementation ivars");
1180 ObjCIvarDecl* ImplIvar = ivars[i];
1187 // Check class extensions (unnamed categories) for duplicate ivars.
1210 ObjCIvarDecl* ImplIvar = ivars[j++];
1239 Diag(ivars[
1150 CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, ObjCIvarDecl **ivars, unsigned numIvars, SourceLocation RBrace) argument
[all...]
H A DSemaDeclCXX.cpp12696 /// Objective-C implementation whose ivars need be initialized.
12701 SmallVector<ObjCIvarDecl*, 8> ivars; local
12702 CollectIvarsToConstructOrDestruct(OID, ivars);
12703 if (ivars.empty())
12706 for (unsigned i = 0; i < ivars.size(); i++) {
12707 FieldDecl *Field = ivars[i];
/external/clang/include/clang/AST/
H A DDeclObjC.h694 /// IvarList - List of all ivars defined by this class; including class
702 /// \brief Indicates that the ivar cache does not yet include ivars
916 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } function in class:clang::ObjCInterfaceDecl
1418 /// ivars.
1440 /// NextIvar - Next Ivar in the list of ivars declared in class; class's
1723 /// class extension may have private ivars.
1804 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } function in class:clang::ObjCCategoryDecl
1991 /// \@implementation may have private ivars.
1996 /// IvarInitializers - The arguments used to initialize the ivars
2000 /// Do the ivars o
2118 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } function in class:clang::ObjCImplementationDecl
[all...]
/external/chromium_org/third_party/libxslt/libxslt/
H A Dxslt.c512 xsltVarInfoPtr ivar = cctxt->ivars, ivartmp;
559 if (cctxt->ivars)
2253 } else if ((cctxt->ivar == NULL) && (cctxt->ivars != NULL)) {
2254 ivar = cctxt->ivars;
2264 if (cctxt->ivars == NULL) {
2265 cctxt->ivars = ivar;
H A DxsltInternals.h1349 xsltVarInfoPtr ivars; /* Storage of local in-scope variables/params. */ member in struct:_xsltCompilerCtxt
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp963 assert(IMD && OID && "Synthesized ivars must be attached to @implementation");
3923 // Generate the struct type for this group of bitfield ivars.
3984 /// an objective-c class with ivars.
4002 // If no ivars and no root or if its root, directly or indirectly,
4003 // have no ivars (thus not synthesized) then no need to synthesize this class.
4060 /// RewriteIvarOffsetSymbols - Rewrite ivar offset symbols of those ivars which
5995 // private ivars.
6282 /// const struct _ivar_list_t *ivars;
6367 Result += "\tconst struct _ivar_list_t *ivars;\n";
6551 ArrayRef<ObjCIvarDecl *>ivars,
6545 Write__class_ro_t_initializer(ASTContext *Context, std::string &Result, unsigned int flags, const std::string &InstanceStart, const std::string &InstanceSize, ArrayRef<ObjCMethodDecl *>baseMethods, ArrayRef<ObjCProtocolDecl *>baseProtocols, ArrayRef<ObjCIvarDecl *>ivars, ArrayRef<ObjCPropertyDecl *>Properties, StringRef VarName, StringRef ClassName) argument
[all...]
H A DRewriteObjC.cpp3112 /// an objective-c class with ivars.
3129 // If no ivars and no root or if its root, directly or indirectly,
3130 // have no ivars (thus not synthesized) then no need to synthesize this class.
5335 // Build _objc_ivar_list metadata for classes ivars if needed
5376 for (auto *IV : IDecl->ivars())
5451 struct _objc_ivar_list *ivars;
5468 Result += "\tstruct _objc_ivar_list *ivars;\n";
5506 // Set 'ivars' field for root class to 0. ObjC1 runtime does not use it.

Completed in 5296 milliseconds