Home
last modified time | relevance | path

Searched refs:hasDefinition (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/include/clang/AST/
DDeclObjC.h681 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
705 if (!hasDefinition()) in protocol_begin()
715 if (!hasDefinition()) in protocol_end()
728 if (!hasDefinition()) in protocol_loc_begin()
739 if (!hasDefinition()) in protocol_loc_end()
752 if (!hasDefinition()) in all_referenced_protocol_begin()
764 if (!hasDefinition()) in all_referenced_protocol_end()
826 bool hasDefinition() const { return Data; } in hasDefinition() function
832 return hasDefinition()? Data->Definition : 0; in getDefinition()
839 return hasDefinition()? Data->Definition : 0; in getDefinition()
[all …]
DDecl.h962 DefinitionKind hasDefinition(ASTContext &) const;
963 DefinitionKind hasDefinition() const { in hasDefinition() function
964 return hasDefinition(getASTContext()); in hasDefinition()
DDeclCXX.h701 bool hasDefinition() const { return DefinitionData != 0; }
988 bool isLambda() const { return hasDefinition() && data().IsLambda; }
/external/clang/lib/AST/
DDeclObjC.cpp162 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass()
230 assert(!hasDefinition() && "ObjC class already has a definition"); in allocateDefinitionData()
271 if (!hasDefinition()) in lookupInstanceVariable()
302 if (!hasDefinition()) in lookupInheritedClass()
323 if (!hasDefinition()) in lookupMethod()
373 if (!hasDefinition()) in lookupPrivateMethod()
760 assert(hasDefinition() && in setExternallyCompleted()
787 if (!hasDefinition()) in all_declared_ivar_begin()
837 if (!hasDefinition()) in FindCategoryDeclaration()
875 if (!hasDefinition()) in ClassImplementsProtocol()
[all …]
DType.cpp920 return !Interface->hasDefinition(); in isIncompleteType()
2278 if (record && record->hasDefinition() && !record->hasTrivialDestructor()) in isDestructedTypeImpl()
DDecl.cpp1322 VarDecl::DefinitionKind VarDecl::hasDefinition(ASTContext &C) const { in hasDefinition() function in VarDecl
2593 cast<CXXRecordDecl>(this)->hasDefinition()) && in completeDefinition()
DDeclCXX.cpp943 if (!hasDefinition()) in isCLike()
/external/clang/lib/Analysis/
DCocoaConventions.cpp81 if (!ID->hasDefinition()) in isCocoaObjectRef()
/external/clang/lib/CodeGen/
DCGRTTI.cpp255 if (!RD->hasDefinition()) in ShouldUseExternalRTTIDescriptor()
437 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildVTablePointer()
631 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildTypeInfo()
DCGExprCXX.cpp1378 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp206 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
DSemaDeclObjC.cpp64 if (!resultClass->hasDefinition()) { in checkInitMethod()
466 if (!IDecl->hasDefinition()) in ActOnStartClassInterface()
622 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency()
731 if (WarnOnDeclarations && !PDecl->hasDefinition()) in FindProtocolDeclaration()
877 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation()
981 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
1019 if (!IDecl->hasDefinition()) in ActOnStartClassImplementation()
2634 if (!protocol->hasDefinition()) in searchFrom()
2666 if (!iface->hasDefinition()) in searchFrom()
DSema.cpp388 if (cast<VarDecl>(decl)->hasDefinition() != VarDecl::DeclarationOnly) in checkUndefinedInternals()
454 if (R->hasDefinition()) in MethodsAndNestedClassesComplete()
DSemaCXXScopeSpec.cpp492 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
DSemaCodeComplete.cpp3366 if (Interface->hasDefinition()) in getContainerDef()
3373 if (Protocol->hasDefinition()) in getContainerDef()
4784 if (Protocol->hasDefinition()) { in AddObjCMethods()
4797 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods()
5658 if (!OnlyForwardDeclarations || !Proto->hasDefinition()) in AddProtocolResults()
5725 if ((!OnlyForwardDeclarations || !Class->hasDefinition()) && in AddInterfaceResults()
6020 if (!IFace->hasDefinition()) in FindImplementableMethods()
6067 if (!Protocol->hasDefinition()) in FindImplementableMethods()
DSemaAccess.cpp279 if (Derived->isDependentContext() && !Derived->hasDefinition()) in IsDerivedFromInclusive()
DSemaExprObjC.cpp213 } else if (!S.NSNumberDecl->hasDefinition()) { in getNSNumberFactoryMethod()
457 } else if (!NSStringDecl->hasDefinition()) { in BuildObjCBoxedExpr()
DSemaLookup.cpp1868 if (!Class->hasDefinition()) { in addAssociatedClassesAndNamespaces()
2877 if (!Record->hasDefinition()) in LookupVisibleDecls()
DSemaType.cpp2129 if (RD && RD->hasDefinition() && in warnAboutAmbiguousFunction()
DSemaTemplate.cpp2394 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in ActOnDependentTemplateName()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp476 if (!Declaration->hasDefinition()) in classIsDerivedFrom()
/external/clang/lib/ARCMigrate/
DTransforms.cpp60 if (!AllowOnUnknownClass && !Class->hasDefinition()) in canApplyWeak()
/external/clang/tools/libclang/
DIndexingContext.cpp359 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCInterface()
413 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCProtocol()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp433 if (!RD || !RD->hasDefinition()) in getRuntimeDefinition()
/external/v8/tools/gcmole/
Dgcmole.cc1113 if (!record->hasDefinition()) return false; in IsRawPointerType()

12