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

/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 DNullabilityChecker.cpp420 for (const auto *IvarDecl : ID->ivars()) {
/external/clang/lib/AST/
H A DDeclPrinter.cpp1108 for (const auto *I : OID->ivars()) {
1162 for (const auto *I : OID->ivars()) {
1218 for (const auto *I : PID->ivars())
H A DDeclObjC.cpp1559 for (auto *IV : ImplDecl->ivars()) {
1573 // Order synthesized ivars by their size.
1691 // but unfortunately we sometimes place ivars into non-class extension
H A DASTContext.cpp1948 /// This routine first collects all declared, but not synthesized, ivars in
1949 /// super class and then collects all ivars, including those synthesized for
1951 /// when all ivars, declared and synthesized are known.
1959 for (const auto *I : OI->ivars())
2006 // Count ivars declared in class extension.
2011 // includes synthesized ivars.
5401 // closely resembles encoding of ivars.
5481 // closely resembles encoding of ivars.
/external/clang/lib/Index/
H A DIndexDecl.cpp156 // For synthesized ivars, use the location of the ObjC implementation,
259 // Index the ivars first to make sure the synthesized ivars are indexed
261 for (const auto *IvarI : D->ivars())
/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp2019 ObjCIvarDecl **ivars, unsigned numIvars,
2032 ivars[i]->setLexicalDeclContext(ImpDecl);
2033 IDecl->makeDeclVisibleInContext(ivars[i]);
2034 ImpDecl->addDecl(ivars[i]);
2043 assert(ivars && "missing @implementation ivars");
2048 ObjCIvarDecl* ImplIvar = ivars[i];
2055 // Check class extensions (unnamed categories) for duplicate ivars.
2078 ObjCIvarDecl* ImplIvar = ivars[j++];
2107 Diag(ivars[
2018 CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, ObjCIvarDecl **ivars, unsigned numIvars, SourceLocation RBrace) argument
[all...]
H A DSemaDeclCXX.cpp13584 /// Objective-C implementation whose ivars need be initialized.
13589 SmallVector<ObjCIvarDecl*, 8> ivars; local
13590 CollectIvarsToConstructOrDestruct(OID, ivars);
13591 if (ivars.empty())
13594 for (unsigned i = 0; i < ivars.size(); i++) {
13595 FieldDecl *Field = ivars[i];
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp2666 uint64_t ivars; // const ivar_list_t * (64-bit pointer) member in struct:class_ro64_t
2679 uint32_t ivars; /* const ivar_list_t * (32-bit pointer) */ member in struct:class_ro32_t
2870 uint32_t ivars; /* struct objc_ivar_list * (32-bit pointer) */ member in struct:objc_class_t
2973 sys::swapByteOrder(cro.ivars);
2986 sys::swapByteOrder(cro.ivars);
3153 sys::swapByteOrder(objc_class.ivars);
4468 outs() << " ivars ";
4469 sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, ivars), S,
4470 info, n_value, cro.ivars);
4476 if (cro.ivars !
[all...]
/external/clang/include/clang/AST/
H A DDeclObjC.h1121 /// IvarList - List of all ivars defined by this class; including class
1129 /// \brief Indicates that the ivar cache does not yet include ivars
1365 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } function in class:clang::ObjCInterfaceDecl
1879 /// ivars.
1905 /// NextIvar - Next Ivar in the list of ivars declared in class; class's
2190 /// class extension may have private ivars.
2279 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } function in class:clang::ObjCCategoryDecl
2467 /// \@implementation may have private ivars.
2472 /// \brief The arguments used to initialize the ivars
2476 /// Do the ivars o
2601 ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); } function in class:clang::ObjCImplementationDecl
[all...]
/external/clang/lib/CodeGen/
H A DCGObjCMac.cpp920 /// are any weak ivars defined directly in the class. Meaningless unless
1110 /// implementation. If ForClass is true the list of class ivars
1111 /// (i.e. metaclass ivars) is emitted, otherwise the list of
1112 /// interface ivars will be emitted. The return value has type
1329 /// implementation. If ForClass is true the list of class ivars
1330 /// (i.e. metaclass ivars) is emitted, otherwise the list of
1331 /// interface ivars will be emitted. The return value has type
3169 /// Class implementation was compiled under MRC and has MRC weak ivars.
3199 /// Class implementation was compiled under MRC and has MRC weak ivars.
3221 /// __weak ivars
5003 SmallVector<const ObjCIvarDecl*, 32> ivars; local
[all...]
/external/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp940 assert(IMD && OID && "Synthesized ivars must be attached to @implementation");
3824 // Generate the struct type for this group of bitfield ivars.
3883 /// an objective-c class with ivars.
3901 // If no ivars and no root or if its root, directly or indirectly,
3902 // have no ivars (thus not synthesized) then no need to synthesize this class.
3959 /// RewriteIvarOffsetSymbols - Rewrite ivar offset symbols of those ivars which
5867 // private ivars.
6154 /// const struct _ivar_list_t *ivars;
6239 Result += "\tconst struct _ivar_list_t *ivars;\n";
6423 ArrayRef<ObjCIvarDecl *>ivars,
6417 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.cpp3084 /// an objective-c class with ivars.
3101 // If no ivars and no root or if its root, directly or indirectly,
3102 // have no ivars (thus not synthesized) then no need to synthesize this class.
5279 // Build _objc_ivar_list metadata for classes ivars if needed
5320 for (auto *IV : IDecl->ivars())
5395 struct _objc_ivar_list *ivars;
5412 Result += "\tstruct _objc_ivar_list *ivars;\n";
5450 // Set 'ivars' field for root class to 0. ObjC1 runtime does not use it.

Completed in 335 milliseconds