Lines Matching refs:Definition
2678 if (VD->isThisDeclarationADefinition() != VarDecl::Definition) {
4183 New->isThisDeclarationADefinition() == VarDecl::Definition) {
5296 /// and Definition have "nearly" matching parameters. This heuristic is
5304 FunctionDecl *Definition,
5307 if (Declaration->param_size() != Definition->param_size())
5311 QualType DefParamTy = Definition->getParamDecl(Idx)->getType();
12233 case VarDecl::Definition:
13489 const FunctionDecl *Definition = EffectiveDefinition;
13490 if (!Definition && !FD->isDefined(Definition) && !FD->isCXXClassMember()) {
13520 Definition = I;
13528 if (!Definition)
13542 Definition = D->getTemplatedDecl();
13550 if (!Definition)
13553 if (canRedefineFunction(Definition, getLangOpts()))
13558 if (TypoCorrectedFunctionDefinitions.count(Definition))
13563 if (SkipBody && !hasVisibleDefinition(Definition) &&
13564 (Definition->getFormalLinkage() == InternalLinkage ||
13565 Definition->isInlined() ||
13566 Definition->getDescribedFunctionTemplate() ||
13567 Definition->getNumTemplateParameterLists())) {
13569 SkipBody->Previous = const_cast<FunctionDecl*>(Definition);
13570 if (auto *TD = Definition->getDescribedFunctionTemplate())
13572 makeMergedDefinitionVisible(const_cast<FunctionDecl*>(Definition));
13576 if (getLangOpts().GNUMode && Definition->isInlineSpecified() &&
13577 Definition->getStorageClass() == SC_Extern)
13583 Diag(Definition->getLocation(), diag::note_previous_definition);
14064 const FunctionDecl *Definition;
14065 if (KeyFunction && KeyFunction->isDefined(Definition))
14066 MarkVTableUsed(Definition->getLocation(), MD->getParent(), true);