Lines Matching refs:getDeclName
1231 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
1249 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1574 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl()
1588 S.Diag(L->getLocation(), diag::err_undeclared_label_use) <<L->getDeclName(); in CheckPoppedLabel()
1604 if (!D->getDeclName()) continue; in ActOnPopScope()
1933 << New->getDeclName(); in MergeTypedefNameDecl()
2028 << New->getDeclName(); in MergeTypedefNameDecl()
2047 << New->getDeclName(); in MergeTypedefNameDecl()
2317 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef()
2686 << New->getDeclName(); in MergeFunctionDecl()
2723 << New->getDeclName(); in MergeFunctionDecl()
2838 << New->getDeclName(); in MergeFunctionDecl()
3175 Diag(New->getLocation(), diag::err_conflicting_types) << New->getDeclName(); in MergeFunctionDecl()
3328 << New->getDeclName() << New->getType() << Old->getType(); in MergeVarDeclTypes()
3414 << New->getDeclName(); in MergeVarDecl()
3444 Diag(New->getLocation(), diag::warn_weak_import) << New->getDeclName(); in MergeVarDecl()
3453 << New->getDeclName(); in MergeVarDecl()
3482 << New->getDeclName(); in MergeVarDecl()
3486 << New->getDeclName(); in MergeVarDecl()
3505 Diag(New->getLocation(), diag::err_non_static_static) << New->getDeclName(); in MergeVarDecl()
3513 Diag(New->getLocation(), diag::err_extern_non_extern) << New->getDeclName(); in MergeVarDecl()
3519 Diag(New->getLocation(), diag::err_non_extern_extern) << New->getDeclName(); in MergeVarDecl()
3532 Diag(New->getLocation(), diag::err_redefinition) << New->getDeclName(); in MergeVarDecl()
3539 Diag(New->getLocation(), diag::err_thread_non_thread) << New->getDeclName(); in MergeVarDecl()
3542 Diag(New->getLocation(), diag::err_non_thread_thread) << New->getDeclName(); in MergeVarDecl()
3550 << New->getDeclName() << (New->getTLSKind() == VarDecl::TLS_Dynamic); in MergeVarDecl()
3803 if (!Record->getDeclName() && Record->isCompleteDefinition() && in ParsedFreeStandingDeclSpec()
3829 if ((Tag && Tag->getDeclName()) || in ParsedFreeStandingDeclSpec()
4010 cast<NamedDecl>(D)->getDeclName()) { in InjectAnonymousStructOrUnionMembers()
4012 if (CheckAnonMemberRedeclaration(SemaRef, S, Owner, VD->getDeclName(), in InjectAnonymousStructOrUnionMembers()
4147 cast<NamespaceDecl>(Owner)->getDeclName()))) { in BuildAnonymousStructOrUnion()
4228 MemRecord->getDeclName()) { in BuildAnonymousStructOrUnion()
4680 if (Record->getIdentifier() && Record->getDeclName() == Name) { in DiagnoseClassNameShadow()
5002 if (New->getDeclName() && AddToScope && in HandleDeclarator()
5859 << Name << RD->getDeclName(); in ActOnVariableDeclarator()
5869 else if (!RD->getDeclName()) in ActOnVariableDeclarator()
6066 << 0 << NewVD->getDeclName() in ActOnVariableDeclarator()
6379 LookupResult R(*this, D->getDeclName(), D->getLocation(), in CheckShadow()
6391 NamedDecl *Prev = S.findLocallyScopedExternCDecl(ND->getDeclName()); in checkGlobalOrExternCConflict()
6428 S.Context.getTranslationUnitDecl()->lookup(ND->getDeclName()); in checkGlobalOrExternCConflict()
6478 if (NamedDecl *Prev = S.findLocallyScopedExternCDecl(ND->getDeclName())) { in checkForConflictWithNonVisibleExternC()
6731 DeclarationName Name = Method->getDeclName(); in operator ()()
6766 S.Diag(MD->getLocation(), DiagID) << MD->getDeclName(); in ReportOverrides()
6884 DeclarationName Name = NewFD->getDeclName(); in DiagnoseInvalidRedeclaration()
7356 << PD->getDeclName(); in checkIsValidOpenCLKernelParameter()
7955 << NewFD->getDeclName(); in ActOnFunctionDeclarator()
8019 << NewFD->getDeclName(); in ActOnFunctionDeclarator()
8492 if (NewFD->getDeclName() != Name) { in CheckFunctionDeclaration()
9191 << Method->getDeclName() << Init->getSourceRange(); in AddInitializerToDecl()
9217 VDecl, VDecl->getDeclName(), VDecl->getType(), in AddInitializerToDecl()
9291 << VDecl->getDeclName(); in AddInitializerToDecl()
9313 << VDecl->getDeclName(); in AddInitializerToDecl()
9660 << Var->getDeclName() << Type; in ActOnUninitializedDecl()
9675 << Var->getDeclName(); in ActOnUninitializedDecl()
9786 << Var->getDeclName() in ActOnUninitializedDecl()
9906 << VD->getDeclName() << Error; in ActOnCXXForRangeDecl()
10318 << Deduced << DeducedDecl->getDeclName() in BuildDeclaratorGroup()
10319 << U << D->getDeclName() in BuildDeclaratorGroup()
10489 << 1 << New->getDeclName() in ActOnParamDeclarator()
10522 if (!(*Param)->isReferenced() && (*Param)->getDeclName() && in DiagnoseUnusedParameters()
10525 << (*Param)->getDeclName(); in DiagnoseUnusedParameters()
10543 << D->getDeclName() << Size; in DiagnoseSizeOfParametersAndReturnValue()
10555 << (*Param)->getDeclName() << Size; in DiagnoseSizeOfParametersAndReturnValue()
10766 << FD->getDeclName() << getLangOpts().CPlusPlus; in CheckForFunctionRedefinition()
10768 Diag(FD->getLocation(), diag::err_redefinition) << FD->getDeclName(); in CheckForFunctionRedefinition()
11539 << 2 << NewTD->getDeclName() in ParseTypedefDecl()
12178 if (Tag->getDeclName() == Name && in ActOnTag()
13145 << NewFD->getDeclName() << EltTy; in CheckFieldDecl()
13224 << FD->getParent()->isUnion() << FD->getDeclName() << member; in CheckNontrivialField()
13427 if (IFD->getDeclName()) in ActOnFields()
13468 << FD->getDeclName(); in ActOnFields()
13498 Diag(FD->getLocation(), DiagID) << FD->getDeclName() in ActOnFields()
13508 << FD->getDeclName() << Record->getTagKind(); in ActOnFields()
13511 << FD->getDeclName() << Record->getTagKind(); in ActOnFields()
13521 << FD->getDeclName() << FD->getType(); in ActOnFields()
13546 << FD->getDeclName() << FD->getType(); in ActOnFields()
13551 << FD->getDeclName(); in ActOnFields()
14039 if (!PrevED->getDeclName() && !hasVisibleDefinition(PrevED, &Hidden)) { in shouldSkipAnonEnumBody()