Home
last modified time | relevance | path

Searched refs:isThisDeclarationADefinition (Results 1 – 25 of 37) 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.cpp152 if (D->isThisDeclarationADefinition()) in indexTagDecl()
DCIndex.cpp639 if (!ID->isThisDeclarationADefinition()) in VisitDeclContext()
644 if (!PD->isThisDeclarationADefinition()) in VisitDeclContext()
926 if (ND->isThisDeclarationADefinition() && in VisitObjCMethodDecl()
1031 if (!PID->isThisDeclarationADefinition()) in VisitObjCProtocolDecl()
1081 if (!D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
4066 !PrevID->isThisDeclarationADefinition() && in GetCursorVisitor()
4067 !ID->isThisDeclarationADefinition()) in GetCursorVisitor()
4832 if (Method->isThisDeclarationADefinition()) in clang_getCursorDefinition()
4843 if (Def->isThisDeclarationADefinition()) in clang_getCursorDefinition()
/external/clang/lib/Sema/
DSemaOpenMP.cpp517 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in EndOpenMPDSABlock()
601 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
618 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
633 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
649 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
663 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPIdExpression()
744 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in CheckOMPThreadPrivateDecl()
755 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in CheckOMPThreadPrivateDecl()
2429 VD->isThisDeclarationADefinition(Context) == VarDecl::DeclarationOnly; in ActOnOpenMPPrivateClause()
2460 bool IsDecl = VD->isThisDeclarationADefinition(Context) == in ActOnOpenMPPrivateClause()
[all …]
DSemaDecl.cpp1927 return VD->isThisDeclarationADefinition(); in isAttributeTargetADefinition()
2136 unsigned Diag = cast<VarDecl>(Def)->isThisDeclarationADefinition() == in checkNewAttributesAfterDef()
2150 if (VD->isThisDeclarationADefinition() != VarDecl::Definition) { in checkNewAttributesAfterDef()
2336 if (Old->isThisDeclarationADefinition()) in getNoteDiagForInvalidRedeclaration()
2558 !Old->isDefined() && !New->isThisDeclarationADefinition()) in MergeFunctionDecl()
3244 New->isThisDeclarationADefinition() == VarDecl::Definition && in MergeVarDecl()
6052 if (NewVD->isThisDeclarationADefinition() || getLangOpts().CPlusPlus) { in CheckVariableDeclarationType()
8780 if (Var->isConstexpr() && !Var->isThisDeclarationADefinition()) { in ActOnUninitializedDecl()
8801 switch (Var->isThisDeclarationADefinition()) { in ActOnUninitializedDecl()
9069 if (var->isThisDeclarationADefinition() && in CheckCompleteVariableDeclaration()
[all …]
DSemaTemplateInstantiateDecl.cpp1123 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1338 if (isFriend && D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
1439 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
2413 D->isThisDeclarationADefinition()) { in VisitClassTemplateSpecializationDecl()
2470 if (D->isThisDeclarationADefinition() && in VisitClassTemplateSpecializationDecl()
/external/clang/lib/Analysis/
DCallGraph.cpp119 if (!FD->isThisDeclarationADefinition() || in includeInGraph()
129 if (!ID->isThisDeclarationADefinition()) in includeInGraph()
/external/clang/include/clang/AST/
DDeclTemplate.h814 bool isThisDeclarationADefinition() const {
815 return getTemplatedDecl()->isThisDeclarationADefinition();
1861 bool isThisDeclarationADefinition() const {
1862 return getTemplatedDecl()->isThisDeclarationADefinition();
2696 bool isThisDeclarationADefinition() const {
2697 return getTemplatedDecl()->isThisDeclarationADefinition();
DDeclObjC.h488 bool isThisDeclarationADefinition() const { return hasBody(); } in isThisDeclarationADefinition() function
780 if (isThisDeclarationADefinition()) in getSourceRange()
982 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1649 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
1657 if (isThisDeclarationADefinition()) in getSourceRange()
DDecl.h931 DefinitionKind isThisDeclarationADefinition(ASTContext &) const;
932 DefinitionKind isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
933 return isThisDeclarationADefinition(getASTContext()); in isThisDeclarationADefinition()
1664 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
2651 bool isThisDeclarationADefinition() const { in isThisDeclarationADefinition() function
DDataRecursiveASTVisitor.h1324 if (D->isThisDeclarationADefinition()) {
1732 if (D->isThisDeclarationADefinition()) { in TraverseFunctionHelper()
DRecursiveASTVisitor.h1396 if (D->isThisDeclarationADefinition()) {
1785 if (D->isThisDeclarationADefinition()) { in TraverseFunctionHelper()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp55 if (!D->isThisDeclarationADefinition()) in checkASTDecl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp351 if (FD->isThisDeclarationADefinition() && in VisitFunctionDecl()
360 if (MD->isThisDeclarationADefinition()) { in VisitObjCMethodDecl()
/external/clang/lib/AST/
DDeclPrinter.cpp289 cast<FunctionDecl>(*D)->isThisDeclarationADefinition()) in VisitDeclContext()
980 if (!OID->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
1024 if (!PID->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
DDeclObjC.cpp412 if (!isThisDeclarationADefinition()) in getDesignatedInitializers()
434 if (!isThisDeclarationADefinition()) in isDesignatedInitializer()
1187 if (!isThisDeclarationADefinition()) in setHasDesignatedInitializers()
1194 if (!isThisDeclarationADefinition()) in hasDesignatedInitializers()
DDecl.cpp1804 VarDecl::DefinitionKind VarDecl::isThisDeclarationADefinition( in isThisDeclarationADefinition() function in VarDecl
1877 DefinitionKind Kind = isThisDeclarationADefinition(); in getActingDefinition()
1884 Kind = I->isThisDeclarationADefinition(); in getActingDefinition()
1896 if (I->isThisDeclarationADefinition(C) == Definition) in getDefinition()
1907 Kind = std::max(Kind, I->isThisDeclarationADefinition(C)); in hasDefinition()
DASTImporter.cpp3463 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto)) in VisitObjCProtocolDecl()
3610 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToIface)) in VisitObjCInterfaceDecl()
4234 if (DTemplated->isThisDeclarationADefinition() && in VisitVarTemplateDecl()
4235 !D2Templated->isThisDeclarationADefinition()) { in VisitVarTemplateDecl()
4294 if (!D->isThisDeclarationADefinition() || in VisitVarTemplateSpecializationDecl()
4329 if (D->isThisDeclarationADefinition() && ImportDefinition(D, D2)) in VisitVarTemplateSpecializationDecl()
DDeclTemplate.cpp933 if (CurD->isThisDeclarationADefinition()) in getDefinition()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp508 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCInterfaceDecl()
509 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
571 Record.push_back(D->isThisDeclarationADefinition()); in VisitObjCProtocolDecl()
572 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
1006 Record.push_back(D->isThisDeclarationADefinition()); in VisitCXXRecordDecl()
1007 if (D->isThisDeclarationADefinition()) in VisitCXXRecordDecl()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp171 if (!Class->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
178 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
676 if (ID->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
681 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
689 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
694 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
708 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
713 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
995 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
3131 if ((!CDecl->isThisDeclarationADefinition() || NumIvars == 0) && in RewriteObjCInternalStruct()
[all …]
DRewriteModernObjC.cpp191 if (!Class->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
202 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelDecl()
213 if (FDecl->isThisDeclarationADefinition() && in HandleTopLevelDecl()
755 if (PD->isThisDeclarationADefinition()) in HandleTopLevelSingleDecl()
767 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
772 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
792 if (!Proto->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl()
797 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() && in HandleTopLevelSingleDecl()
1177 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
4004 if ((!CDecl->isThisDeclarationADefinition() || IVars.size() == 0) && in RewriteObjCInternalStruct()
[all …]
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp200 if (method->isThisDeclarationADefinition() && Config::IsTraceMethod(method)) in TraverseCXXMethodDecl()
922 if (record->isThisDeclarationADefinition() && in CheckRecord()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1259 if (VD->isThisDeclarationADefinition() != VarDecl::Definition) in EmitGlobal()
1602 if (InitDecl->isThisDeclarationADefinition()) in isVarDeclInlineInitializedStaticDataMember()
3153 if (Proto->isThisDeclarationADefinition()) in EmitTopLevelDecl()

12