Home
last modified time | relevance | path

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

12

/external/clang/tools/libclang/
DIndexDecl.cpp31 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition(); in hasUserDefined()
61 if (D->isThisDeclarationADefinition()) { in handleObjCMethod()
85 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
138 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
148 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
279 if (D->isThisDeclarationADefinition()) in VisitClassTemplateDecl()
288 if (D->isThisDeclarationADefinition() && in VisitClassTemplateSpecializationDecl()
299 if (FD->isThisDeclarationADefinition()) { in VisitFunctionTemplateDecl()
DIndexingContext.cpp373 bool isDef = D->isThisDeclarationADefinition(); in handleFunction()
389 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar()
416 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl()
417 D->isThisDeclarationADefinition()); in handleTagDecl()
429 if (!D->isThisDeclarationADefinition()) { in handleObjCInterface()
460 ObjCProtocolListInfo ProtInfo(D->isThisDeclarationADefinition() in handleObjCInterface()
484 if (!D->isThisDeclarationADefinition()) { in handleObjCProtocol()
501 ObjCProtocolListInfo ProtListInfo(D->isThisDeclarationADefinition() in handleObjCProtocol()
574 bool isDef = D->isThisDeclarationADefinition(); in handleObjCMethod()
642 /*isDefinition=*/D->isThisDeclarationADefinition(), in handleFunctionTemplate()
[all …]
DIndexTypeSourceInfo.cpp153 if (D->isThisDeclarationADefinition()) in indexTagDecl()
DCIndex.cpp643 if (!ID->isThisDeclarationADefinition()) in VisitDeclContext()
648 if (!PD->isThisDeclarationADefinition()) in VisitDeclContext()
949 if (ND->isThisDeclarationADefinition() && in VisitObjCMethodDecl()
1057 if (!PID->isThisDeclarationADefinition()) in VisitObjCProtocolDecl()
1120 if (!D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
4573 !PrevID->isThisDeclarationADefinition() && in GetCursorVisitor()
4574 !ID->isThisDeclarationADefinition()) in GetCursorVisitor()
5348 if (Method->isThisDeclarationADefinition()) in clang_getCursorDefinition()
5359 if (Def->isThisDeclarationADefinition()) in clang_getCursorDefinition()
/external/clang/include/clang/AST/
DDeclTemplate.h900 bool isThisDeclarationADefinition() const {
901 return getTemplatedDecl()->isThisDeclarationADefinition();
1993 bool isThisDeclarationADefinition() const {
1994 return getTemplatedDecl()->isThisDeclarationADefinition();
2819 bool isThisDeclarationADefinition() const {
2820 return getTemplatedDecl()->isThisDeclarationADefinition();
DDeclObjC.h497 bool isThisDeclarationADefinition() const { return hasBody(); } in isThisDeclarationADefinition() function
989 if (isThisDeclarationADefinition()) in getSourceRange()
1195 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1867 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1879 if (isThisDeclarationADefinition()) in getSourceRange()
DDecl.h1004 DefinitionKind isThisDeclarationADefinition(ASTContext &) const;
1005 DefinitionKind isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1006 return isThisDeclarationADefinition(getASTContext()); in isThisDeclarationADefinition()
1778 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
2848 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
DRecursiveASTVisitor.h1388 if (D->isThisDeclarationADefinition()) {
1790 if (D->isThisDeclarationADefinition()) {
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp55 if (!D->isThisDeclarationADefinition()) in checkASTDecl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp352 if (FD->isThisDeclarationADefinition() && in VisitFunctionDecl()
361 if (MD->isThisDeclarationADefinition()) { in VisitObjCMethodDecl()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1027 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1044 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1059 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1075 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1089 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
1177 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in CheckOMPThreadPrivateDecl()
1195 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in CheckOMPThreadPrivateDecl()
6395 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPPrivateClause()
6651 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPFirstprivateClause()
7157 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPReductionClause()
[all …]
DSemaDecl.cpp2074 return VD->isThisDeclarationADefinition(); in isAttributeTargetADefinition()
2313 unsigned Diag = cast<VarDecl>(Def)->isThisDeclarationADefinition() == in checkNewAttributesAfterDef()
2327 if (VD->isThisDeclarationADefinition() != VarDecl::Definition) { in checkNewAttributesAfterDef()
2554 if (Old->isThisDeclarationADefinition()) in getNoteDiagForInvalidRedeclaration()
2822 !Old->isDefined() && !New->isThisDeclarationADefinition()) in MergeFunctionDecl()
3325 Diag(New->getLocation(), New->isThisDeclarationADefinition() in MergeVarDeclTypes()
3558 New->isThisDeclarationADefinition() == VarDecl::Definition && in MergeVarDecl()
3654 assert(TagFromDeclSpec->isThisDeclarationADefinition()); in setTagNameForLinkagePurposes()
5421 assert(VD->isThisDeclarationADefinition() && in checkAttributesAfterMerging()
6659 if (NewVD->isThisDeclarationADefinition() || getLangOpts().CPlusPlus) { in CheckVariableDeclarationType()
[all …]
DSemaTemplateInstantiateDecl.cpp1255 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1491 if (isFriend && D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
1592 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
2568 D->isThisDeclarationADefinition()) { in VisitClassTemplateSpecializationDecl()
2625 if (D->isThisDeclarationADefinition() && in VisitClassTemplateSpecializationDecl()
DSemaDeclObjC.cpp1229 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration()
1357 if (!proto->isThisDeclarationADefinition() && proto->getDefinition()) in actOnObjCTypeArgsOrProtocolQualifiers()
2622 if (!PDecl->isThisDeclarationADefinition() && in CheckProtocolMethodDefs()
DSemaDeclAttr.cpp1544 if (FD->isThisDeclarationADefinition()) { in handleAliasAttr()
1550 if (VD->isThisDeclarationADefinition() && VD->isExternallyVisible()) { in handleAliasAttr()
1842 if (!cast<ObjCProtocolDecl>(D)->isThisDeclarationADefinition()) { in handleObjCSuppresProtocolAttr()
/external/clang/lib/AST/
DDeclPrinter.cpp339 cast<FunctionDecl>(*D)->isThisDeclarationADefinition()) in VisitDeclContext()
1111 if (!OID->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
1165 if (!PID->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
DDeclObjC.cpp493 if (!isThisDeclarationADefinition()) in getDesignatedInitializers()
515 if (!isThisDeclarationADefinition()) in isDesignatedInitializer()
1415 if (!isThisDeclarationADefinition()) in setHasDesignatedInitializers()
1422 if (!isThisDeclarationADefinition()) in hasDesignatedInitializers()
DDecl.cpp1908 VarDecl::isThisDeclarationADefinition(ASTContext &C) const { in isThisDeclarationADefinition() function in VarDecl
1983 DefinitionKind Kind = isThisDeclarationADefinition(); in getActingDefinition()
1990 Kind = I->isThisDeclarationADefinition(); in getActingDefinition()
2002 if (I->isThisDeclarationADefinition(C) == Definition) in getDefinition()
2013 Kind = std::max(Kind, I->isThisDeclarationADefinition(C)); in hasDefinition()
DASTImporter.cpp3631 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
3835 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToIface)) in VisitObjCInterfaceDecl()
4469 if (DTemplated->isThisDeclarationADefinition() && in VisitVarTemplateDecl()
4470 !D2Templated->isThisDeclarationADefinition()) { in VisitVarTemplateDecl()
4529 if (!D->isThisDeclarationADefinition() || in VisitVarTemplateSpecializationDecl()
4564 if (D->isThisDeclarationADefinition() && ImportDefinition(D, D2)) in VisitVarTemplateSpecializationDecl()
DDeclBase.cpp517 if (Var->isThisDeclarationADefinition()) { in canBeWeakImported()
DDeclTemplate.cpp975 if (CurD->isThisDeclarationADefinition()) in getDefinition()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp653 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCInterfaceDecl()
654 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
716 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCProtocolDecl()
717 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
1150 Record.push_back(D->isThisDeclarationADefinition()); in VisitCXXRecordDecl()
1151 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()
3111 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()
743 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
755 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
760 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
780 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
785 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
1165 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
3967 if ((!CDecl->isThisDeclarationADefinition() || IVars.size() == 0) && in RewriteObjCInternalStruct()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3363 return Node.isThisDeclarationADefinition(); in AST_POLYMORPHIC_MATCHER()

12