Home
last modified time | relevance | path

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

12

/external/clang/tools/libclang/
DIndexDecl.cpp31 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition(); in hasUserDefined()
64 if (D->isThisDeclarationADefinition()) { in handleObjCMethod()
91 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
144 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
154 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
291 if (D->isThisDeclarationADefinition()) in VisitClassTemplateDecl()
300 if (D->isThisDeclarationADefinition() && in VisitClassTemplateSpecializationDecl()
311 if (FD->isThisDeclarationADefinition()) { in VisitFunctionTemplateDecl()
DIndexingContext.cpp374 bool isDef = D->isThisDeclarationADefinition(); in handleFunction()
390 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(), in handleVar()
417 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(), in handleTagDecl()
418 D->isThisDeclarationADefinition()); in handleTagDecl()
430 if (!D->isThisDeclarationADefinition()) { in handleObjCInterface()
461 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()
641 /*isDefinition=*/D->isThisDeclarationADefinition(), in handleFunctionTemplate()
[all …]
DIndexTypeSourceInfo.cpp152 if (D->isThisDeclarationADefinition()) in indexTagDecl()
DCIndex.cpp619 if (!ID->isThisDeclarationADefinition()) in VisitDeclContext()
624 if (!PD->isThisDeclarationADefinition()) in VisitDeclContext()
917 if (ND->isThisDeclarationADefinition() && in VisitObjCMethodDecl()
1032 if (!PID->isThisDeclarationADefinition()) in VisitObjCProtocolDecl()
1082 if (!D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
3870 !PrevID->isThisDeclarationADefinition() && in GetCursorVisitor()
3871 !ID->isThisDeclarationADefinition()) in GetCursorVisitor()
4627 if (Method->isThisDeclarationADefinition()) in clang_getCursorDefinition()
4638 if (Def->isThisDeclarationADefinition()) in clang_getCursorDefinition()
DRecursiveASTVisitor.h1331 if (D->isThisDeclarationADefinition()) {
1748 if (D->isThisDeclarationADefinition()) { in TraverseFunctionHelper()
/external/clang/lib/Sema/
DSemaOpenMP.cpp97 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPIdExpression()
122 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPIdExpression()
177 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in CheckOMPThreadPrivateDecl()
187 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in CheckOMPThreadPrivateDecl()
350 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPPrivateClause()
378 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPPrivateClause()
394 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPPrivateClause()
DSemaDecl.cpp1861 return VD->isThisDeclarationADefinition(); in isAttributeTargetADefinition()
2320 if (Old->isThisDeclarationADefinition()) in MergeFunctionDecl()
2443 !Old->isDefined() && !New->isThisDeclarationADefinition()) in MergeFunctionDecl()
3017 New->isThisDeclarationADefinition() == VarDecl::Definition && in MergeVarDecl()
5661 if (NewVD->isThisDeclarationADefinition() || getLangOpts().CPlusPlus) { in CheckVariableDeclarationType()
8342 if (Var->isConstexpr() && !Var->isThisDeclarationADefinition()) { in ActOnUninitializedDecl()
8353 switch (Var->isThisDeclarationADefinition()) { in ActOnUninitializedDecl()
8583 if (var->isThisDeclarationADefinition() && in CheckCompleteVariableDeclaration()
8590 while (prev && prev->isThisDeclarationADefinition()) in CheckCompleteVariableDeclaration()
9841 assert(tagFromDeclSpec->isThisDeclarationADefinition()); in ParseTypedefDecl()
DSemaTemplateInstantiateDecl.cpp1086 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1284 if (isFriend && D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
1391 D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
/external/clang/lib/Analysis/
DCallGraph.cpp125 if (!FD->isThisDeclarationADefinition() || in includeInGraph()
135 if (!ID->isThisDeclarationADefinition()) in includeInGraph()
/external/clang/lib/AST/
DDumpXML.cpp597 if (!D->isThisDeclarationADefinition()) return; in visitCXXRecordDeclChildren()
753 setFlag("forward_decl", !D->isThisDeclarationADefinition()); in visitObjCInterfaceDeclAttrs()
823 if (!D->isThisDeclarationADefinition()) in visitObjCProtocolDeclChildren()
834 if (!D->isThisDeclarationADefinition()) in visitObjCProtocolDeclAsContext()
856 if (D->isThisDeclarationADefinition()) in visitObjCMethodDeclChildren()
DDeclPrinter.cpp298 cast<FunctionDecl>(*D)->isThisDeclarationADefinition()) in VisitDeclContext()
977 if (!OID->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
1021 if (!PID->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
DDecl.cpp1676 VarDecl::DefinitionKind VarDecl::isThisDeclarationADefinition( in isThisDeclarationADefinition() function in VarDecl
1728 DefinitionKind Kind = isThisDeclarationADefinition(); in getActingDefinition()
1736 Kind = (*I)->isThisDeclarationADefinition(); in getActingDefinition()
1749 if ((*I)->isThisDeclarationADefinition(C) == Definition) in getDefinition()
1761 Kind = std::max(Kind, (*I)->isThisDeclarationADefinition(C)); in hasDefinition()
DASTImporter.cpp3471 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
3622 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToIface)) in VisitObjCInterfaceDecl()
4247 if (DTemplated->isThisDeclarationADefinition() && in VisitVarTemplateDecl()
4248 !D2Templated->isThisDeclarationADefinition()) { in VisitVarTemplateDecl()
4307 if (!D->isThisDeclarationADefinition() || in VisitVarTemplateSpecializationDecl()
4342 if (D->isThisDeclarationADefinition() && ImportDefinition(D, D2)) in VisitVarTemplateSpecializationDecl()
DDeclBase.cpp438 if (Var->isThisDeclarationADefinition()) { in canBeWeakImported()
/external/clang/include/clang/AST/
DDeclTemplate.h806 bool isThisDeclarationADefinition() const {
807 return getTemplatedDecl()->isThisDeclarationADefinition();
1876 bool isThisDeclarationADefinition() const {
1877 return getTemplatedDecl()->isThisDeclarationADefinition();
2733 bool isThisDeclarationADefinition() const {
2734 return getTemplatedDecl()->isThisDeclarationADefinition();
DDeclObjC.h466 bool isThisDeclarationADefinition() const { return hasBody(); } in isThisDeclarationADefinition() function
720 if (isThisDeclarationADefinition()) in getSourceRange()
872 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1491 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1499 if (isThisDeclarationADefinition()) in getSourceRange()
DDecl.h913 DefinitionKind isThisDeclarationADefinition(ASTContext &) const;
914 DefinitionKind isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
915 return isThisDeclarationADefinition(getASTContext()); in isThisDeclarationADefinition()
1625 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
2558 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
DRecursiveASTVisitor.h1413 if (D->isThisDeclarationADefinition()) {
1833 if (D->isThisDeclarationADefinition()) { in TraverseFunctionHelper()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp332 if (FD->isThisDeclarationADefinition() && in VisitFunctionDecl()
341 if (MD->isThisDeclarationADefinition()) { in VisitObjCMethodDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp55 if (!D->isThisDeclarationADefinition()) in checkASTDecl()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp481 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCInterfaceDecl()
482 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
547 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCProtocolDecl()
548 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
961 Record.push_back(D->isThisDeclarationADefinition()); in VisitCXXRecordDecl()
962 if (D->isThisDeclarationADefinition()) in VisitCXXRecordDecl()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp171 if (!Class->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
178 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
669 if (ID->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
674 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
682 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
687 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
701 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
706 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
993 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
3177 if ((!CDecl->isThisDeclarationADefinition() || NumIvars == 0) && in RewriteObjCInternalStruct()
[all …]
DRewriteModernObjC.cpp192 if (!Class->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
203 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
214 if (FDecl->isThisDeclarationADefinition() && in HandleTopLevelDecl()
734 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
746 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
751 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
771 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
776 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
1157 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
4072 if ((!CDecl->isThisDeclarationADefinition() || IVars.size() == 0) && in RewriteObjCInternalStruct()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2649 return Node.isThisDeclarationADefinition(); in AST_POLYMORPHIC_MATCHER()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1167 if (VD->isThisDeclarationADefinition() != VarDecl::Definition) in EmitGlobal()
2908 if (Proto->isThisDeclarationADefinition()) in EmitTopLevelDecl()

12