Home
last modified time | relevance | path

Searched refs:isThisDeclarationADefinition (Results 1 – 25 of 37) sorted by relevance

12

/external/clang/lib/Index/
DIndexDecl.cpp45 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition(); in hasUserDefined()
60 if (FD->isThisDeclarationADefinition()) in handleDeclarator()
63 if (MD->isThisDeclarationADefinition()) in handleDeclarator()
69 if (FD->isThisDeclarationADefinition()) { in handleDeclarator()
85 if (D->isThisDeclarationADefinition()) { in handleObjCMethod()
126 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
193 if (D->isThisDeclarationADefinition()) { in VisitTagDecl()
220 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
237 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
379 if (D->isThisDeclarationADefinition()) in VisitClassTemplateSpecializationDecl()
DIndexingContext.cpp176 return VD->isThisDeclarationADefinition(Ctx); in isDeclADefinition()
179 return FD->isThisDeclarationADefinition(); in isDeclADefinition()
182 return TD->isThisDeclarationADefinition(); in isDeclADefinition()
185 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
DIndexTypeSourceInfo.cpp66 if (FD->isThisDeclarationADefinition()) { in TraverseParmVarDecl()
192 if (D->isThisDeclarationADefinition()) { in indexTagDecl()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp95 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
167 if (!ObjCID->isThisDeclarationADefinition() && in handleDeclOccurence()
175 if (!ObjCPD->isThisDeclarationADefinition() && in handleDeclOccurence()
596 bool isDef = D->isThisDeclarationADefinition(); in handleFunction()
612 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar()
639 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl()
640 D->isThisDeclarationADefinition()); in handleTagDecl()
652 if (!D->isThisDeclarationADefinition()) { in handleObjCInterface()
683 ObjCProtocolListInfo ProtInfo(D->isThisDeclarationADefinition() in handleObjCInterface()
707 if (!D->isThisDeclarationADefinition()) { in handleObjCProtocol()
[all …]
DCIndex.cpp651 if (!ID->isThisDeclarationADefinition()) in handleDeclForVisitation()
656 if (!PD->isThisDeclarationADefinition()) in handleDeclForVisitation()
953 return ND->isThisDeclarationADefinition() && in VisitObjCMethodDecl()
1058 if (!PID->isThisDeclarationADefinition()) in VisitObjCProtocolDecl()
1122 if (!D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
4938 !PrevID->isThisDeclarationADefinition() && in GetCursorVisitor()
4939 !ID->isThisDeclarationADefinition()) in GetCursorVisitor()
5718 if (Method->isThisDeclarationADefinition()) in clang_getCursorDefinition()
5729 if (Def->isThisDeclarationADefinition()) in clang_getCursorDefinition()
/external/clang/include/clang/AST/
DDeclTemplate.h905 bool isThisDeclarationADefinition() const {
906 return getTemplatedDecl()->isThisDeclarationADefinition();
1995 bool isThisDeclarationADefinition() const {
1996 return getTemplatedDecl()->isThisDeclarationADefinition();
2806 bool isThisDeclarationADefinition() const {
2807 return getTemplatedDecl()->isThisDeclarationADefinition();
DDeclObjC.h492 bool isThisDeclarationADefinition() const { return hasBody(); } in isThisDeclarationADefinition() function
1229 if (isThisDeclarationADefinition()) in getSourceRange()
1435 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
2109 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
2121 if (isThisDeclarationADefinition()) in getSourceRange()
DDecl.h1077 DefinitionKind isThisDeclarationADefinition(ASTContext &) const;
1078 DefinitionKind isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1079 return isThisDeclarationADefinition(getASTContext()); in isThisDeclarationADefinition()
1814 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
2865 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
DRecursiveASTVisitor.h1464 if (D->isThisDeclarationADefinition()) {
1877 if (D->isThisDeclarationADefinition()) {
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp351 if (FD->isThisDeclarationADefinition() && in VisitFunctionDecl()
360 if (MD->isThisDeclarationADefinition()) { in VisitObjCMethodDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp55 if (!D->isThisDeclarationADefinition()) in checkASTDecl()
/external/clang/lib/AST/
DDeclPrinter.cpp341 cast<FunctionDecl>(*D)->isThisDeclarationADefinition()) in VisitDeclContext()
1129 if (!OID->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
1183 if (!PID->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
DDeclObjC.cpp521 if (!isThisDeclarationADefinition()) in getDesignatedInitializers()
543 if (!isThisDeclarationADefinition()) in isDesignatedInitializer()
1449 if (!isThisDeclarationADefinition()) in setHasDesignatedInitializers()
1456 if (!isThisDeclarationADefinition()) in hasDesignatedInitializers()
DDecl.cpp1911 VarDecl::isThisDeclarationADefinition(ASTContext &C) const { in isThisDeclarationADefinition() function in VarDecl
1992 DefinitionKind Kind = isThisDeclarationADefinition(); in getActingDefinition()
1999 Kind = I->isThisDeclarationADefinition(); in getActingDefinition()
2011 if (I->isThisDeclarationADefinition(C) == Definition) in getDefinition()
2022 Kind = std::max(Kind, I->isThisDeclarationADefinition(C)); in hasDefinition()
DASTImporter.cpp3855 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
4059 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToIface)) in VisitObjCInterfaceDecl()
4693 if (DTemplated->isThisDeclarationADefinition() && in VisitVarTemplateDecl()
4694 !D2Templated->isThisDeclarationADefinition()) { in VisitVarTemplateDecl()
4753 if (!D->isThisDeclarationADefinition() || in VisitVarTemplateSpecializationDecl()
4788 if (D->isThisDeclarationADefinition() && ImportDefinition(D, D2)) in VisitVarTemplateSpecializationDecl()
DDeclTemplate.cpp941 if (CurD->isThisDeclarationADefinition()) in getDefinition()
DDeclBase.cpp548 if (Var->isThisDeclarationADefinition()) { in canBeWeakImported()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp677 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCInterfaceDecl()
678 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
740 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCProtocolDecl()
741 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
1184 Record.push_back(D->isThisDeclarationADefinition()); in VisitCXXRecordDecl()
1185 if (D->isThisDeclarationADefinition()) in VisitCXXRecordDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp173 if (!Class->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
180 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
667 if (ID->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
672 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
680 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
685 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
699 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
704 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
986 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
3103 if ((!CDecl->isThisDeclarationADefinition() || NumIvars == 0) && in RewriteObjCInternalStruct()
[all …]
DRewriteModernObjC.cpp193 if (!Class->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
204 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
215 if (FDecl->isThisDeclarationADefinition() && in HandleTopLevelDecl()
737 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
745 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
750 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
770 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
775 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
1154 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
3903 if ((!CDecl->isThisDeclarationADefinition() || IVars.size() == 0) && in RewriteObjCInternalStruct()
[all …]
/external/clang/lib/Sema/
DSemaOpenMP.cpp1192 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1209 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1224 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1240 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1254 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1348 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in CheckOMPThreadPrivateDecl()
1366 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in CheckOMPThreadPrivateDecl()
8255 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPPrivateClause()
8538 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPFirstprivateClause()
9160 VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPReductionClause()
[all …]
DSemaDecl.cpp2129 return VD->isThisDeclarationADefinition(); in isAttributeTargetADefinition()
2369 unsigned Diag = cast<VarDecl>(Def)->isThisDeclarationADefinition() == in checkNewAttributesAfterDef()
2383 if (VD->isThisDeclarationADefinition() != VarDecl::Definition) { in checkNewAttributesAfterDef()
2628 if (Old->isThisDeclarationADefinition()) in getNoteDiagForInvalidRedeclaration()
2896 !Old->isDefined() && !New->isThisDeclarationADefinition()) in MergeFunctionDecl()
3324 S.Diag(New->getLocation(), New->isThisDeclarationADefinition() in diagnoseVarDeclTypeMismatch()
3637 !Old->getDefinition() && !New->isThisDeclarationADefinition()) in MergeVarDecl()
3662 New->isThisDeclarationADefinition() == VarDecl::Definition && in MergeVarDecl()
3769 assert(TagFromDeclSpec->isThisDeclarationADefinition()); in setTagNameForLinkagePurposes()
5554 assert(VD->isThisDeclarationADefinition() && in checkAttributesAfterMerging()
[all …]
DSemaTemplateInstantiateDecl.cpp1362 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1598 if (isFriend && D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
1698 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
2736 D->isThisDeclarationADefinition()) { in VisitClassTemplateSpecializationDecl()
2792 if (D->isThisDeclarationADefinition() && in VisitClassTemplateSpecializationDecl()
3863 !(OldVar->isInline() && OldVar->isThisDeclarationADefinition())) || in BuildVariableInstantiation()
DSemaDeclObjC.cpp1228 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration()
1366 if (!proto->isThisDeclarationADefinition() && proto->getDefinition()) in actOnObjCTypeArgsOrProtocolQualifiers()
2647 if (!PDecl->isThisDeclarationADefinition() && in CheckProtocolMethodDefs()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1603 VD->isThisDeclarationADefinition() != VarDecl::Definition && in EmitGlobal()
2854 auto DK = VD->isThisDeclarationADefinition(); in HandleCXXStaticMemberVarInstantiation()
3836 if (Proto->isThisDeclarationADefinition()) in EmitTopLevelDecl()

12