Home
last modified time | relevance | path

Searched refs:getDeclName (Results 1 – 25 of 70) sorted by relevance

123

/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp100 << property->getDeclName() in checkARCPropertyDecl()
683 << property->getDeclName() in checkARCPropertyImpl()
684 << ivar->getDeclName() in checkARCPropertyImpl()
690 << property->getDeclName() in checkARCPropertyImpl()
691 << ivar->getDeclName(); in checkARCPropertyImpl()
696 << property->getDeclName() in checkARCPropertyImpl()
697 << ivar->getDeclName() in checkARCPropertyImpl()
1053 << property->getDeclName() << Ivar->getDeclName() in ActOnPropertyImplDecl()
1103 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1112 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
[all …]
H A DSemaTemplateInstantiateDecl.cpp583 if (!Field->getDeclName()) { in VisitFieldDecl()
1069 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplatePartialSpecializationDecl()
1528 << Function->getDeclName(); in VisitFunctionDecl()
1559 << Function->getDeclName(); in VisitFunctionDecl()
2437 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplateSpecializationDecl()
2981 D->getDeclName(), in SubstFunctionType()
4294 if (!Field->getDeclName()) { in isInstantiationOf()
4308 D->getDeclName() == cast<NamedDecl>(Other)->getDeclName(); in isInstantiationOf()
4520 if (D->getDeclName()) { in FindInstantiatedDecl()
4551 << D->getDeclName() in FindInstantiatedDecl()
[all …]
H A DIdentifierResolver.cpp143 DeclarationName Name = D->getDeclName(); in AddDecl()
168 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
209 DeclarationName Name = D->getDeclName(); in RemoveDecl()
408 void *InfoPtr = D->getDeclName().getFETokenInfo<void>(); in incrementSlowCase()
H A DSema.cpp613 << isa<TypeAliasDecl>(TD) << TD->getDeclName(); in emitAndClearUnusedLocalTypedefWarnings()
816 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
824 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
827 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
833 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
841 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
844 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
847 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
869 << D->getDeclName(); in ActOnEndOfTranslationUnit()
H A DSemaDecl.cpp1899 << New->getDeclName(); in MergeTypedefNameDecl()
1960 << New->getDeclName(); in MergeTypedefNameDecl()
1979 << New->getDeclName(); in MergeTypedefNameDecl()
2519 << New->getDeclName(); in MergeFunctionDecl()
3202 << New->getDeclName(); in MergeVarDecl()
3265 << New->getDeclName(); in MergeVarDecl()
3269 << New->getDeclName(); in MergeVarDecl()
6897 << PD->getDeclName(); in checkIsValidOpenCLKernelParameter()
8752 << VDecl->getDeclName(); in AddInitializerToDecl()
9235 << Var->getDeclName() in ActOnUninitializedDecl()
[all …]
H A DSemaDeclCXX.cpp554 << New->getDeclName() in MergeCXXFunctionDecl()
1903 << MD->getDeclName(); in CheckOverrideControl()
1924 << MD->getDeclName(); in DiagnoseAbsenceOfOverrideControl()
1940 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal()
4137 << Field->getDeclName() in CheckRedundantInit()
4488 << SO->second.front().Method->getDeclName() << RD->getDeclName(); in DiagnoseAbstractType()
4818 << F->getDeclName(); in CheckCompletedCXXClass()
4842 << D->getDeclName(); in CheckCompletedCXXClass()
6478 if (Param->getDeclName()) in ActOnReenterCXXMethodParameter()
6510 if (Param->getDeclName()) in ActOnDelayedCXXMethodParameter()
[all …]
H A DSemaDeclObjC.cpp259 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
496 << PrevIDecl->getDeclName(); in ActOnStartClassInterface()
847 << Method->getDeclName(); in DiagnoseClassExtensionDupMethods()
1067 << SDecl->getDeclName(); in ActOnStartClassImplementation()
1359 << MethodImpl->getDeclName() in CheckMethodOverrideReturn()
1428 << MethodImpl->getDeclName(); in CheckMethodOverrideParam()
1637 << MethodDecl->getDeclName(); in WarnExactTypedMethods()
2621 << Method->getDeclName(); in ActOnAtEnd()
2630 << Method->getDeclName(); in ActOnAtEnd()
2645 << Method->getDeclName(); in ActOnAtEnd()
[all …]
H A DSemaExprMember.cpp799 << indirectField->getDeclName(); in BuildAnonymousStructUnionMemberReference()
822 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
840 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1294 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1311 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1352 << IV->getDeclName(); in LookupMemberExpr()
1356 << IV->getDeclName(); in LookupMemberExpr()
1380 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
H A DAnalysisBasedWarnings.cpp608 << VD->getDeclName() in SuggestInitializationFixit()
628 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
669 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
676 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
812 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse()
825 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
859 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
870 << VD->getDeclName(); in DiagnoseUninitializedUse()
880 << VD->getDeclName(); in DiagnoseUninitializedUse()
H A DSemaAccess.cpp257 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
358 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
473 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1268 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
H A DSemaTemplateInstantiate.cpp1126 NTTP->getDeclName()); in TransformTemplateParmRefExpr()
1199 TemplateArgs, loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1202 loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1241 DeclarationNameInfo NameInfo(PD->getDeclName(), Loc); in RebuildParmVarDeclRefExpr()
1635 New->getDeclName()); in SubstExceptionSpec()
1662 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl()
1684 OldParm->getDeclName()); in SubstParmVarDecl()
2651 ClassPattern->lookup(Field->getDeclName()); in InstantiateClassMembers()
H A DSemaExprObjC.cpp1003 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1006 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1969 << Method->getDeclName(); in ActOnSuperMessage()
2100 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI()
2195 << Method->getDeclName(); in BuildClassMessage()
2235 << Method->getDeclName(); in BuildClassMessage()
2243 << Method->getDeclName(); in BuildClassMessage()
2245 << CurMeth->getDeclName(); in BuildClassMessage()
2475 << Method->getDeclName(); in BuildInstanceMessage()
2715 << SelMethod->getDeclName(); in BuildInstanceMessage()
[all …]
H A DSemaTemplate.cpp457 << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow()
1976 << Template->getDeclName(); in NoteAllFoundTemplates()
1985 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates()
2425 << FnTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
2476 << VarTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
2558 if (Param->getDeclName()) in ActOnVarTemplateSpecialization()
2560 << Param->getDeclName(); in ActOnVarTemplateSpecialization()
6179 << ClassTemplate->getDeclName(); in ActOnClassTemplateSpecialization()
6280 if (Param->getDeclName()) in ActOnClassTemplateSpecialization()
6283 << Param->getDeclName(); in ActOnClassTemplateSpecialization()
[all …]
H A DSemaExceptionSpec.cpp183 Decl->getDeclName().getCXXOverloadedOperator() != OO_Delete && in hasImplicitExceptionSpec()
184 Decl->getDeclName().getCXXOverloadedOperator() != OO_Array_Delete) in hasImplicitExceptionSpec()
201 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator(); in CheckEquivalentExceptionSpec()
H A DSemaExpr.cpp292 << D->getDeclName(); in DiagnoseUseOfDecl()
11860 << Var->getDeclName(); in isVariableCapturable()
11873 << Var->getDeclName(); in isVariableCapturable()
11875 << Var->getDeclName(); in isVariableCapturable()
11888 << Var->getDeclName(); in isVariableCapturable()
11912 << Var->getDeclName(); in captureInBlock()
11923 << Var->getDeclName(); in captureInBlock()
12211 << Var->getDeclName(); in captureInLambda()
12342 << Var->getDeclName(); in tryCaptureVariable()
12483 << Var->getDeclName(); in tryCaptureVariable()
[all …]
H A DSemaStmt.cpp453 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
1130 UnhandledNames.push_back(EI->second->getDeclName()); in ActOnFinishSwitchStmt()
1466 PDiag << (*I)->getDeclName(); in CheckForLoopConditionalStatement()
1797 << D->getDeclName(); in ActOnObjCForCollectionStmt()
2928 << FD->getDeclName(); in BuildReturnStmt()
2977 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
3006 << CurDecl->getDeclName() << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
3023 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
3056 Diag(ReturnLoc, DiagID) << getCurMethodDecl()->getDeclName() << 1/*meth*/; in BuildReturnStmt()
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DDecl.cpp1433 if (getDeclName()) in printQualifiedName()
1449 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
1664 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
2401 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator()
2425 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReplaceableGlobalAllocationFunction()
2426 getDeclName().getCXXOverloadedOperator() != OO_Delete && in isReplaceableGlobalAllocationFunction()
2523 if (!Namespace->getDeclName()) in isGlobal()
2866 return getDeclName().getCXXOverloadedOperator(); in getOverloadedOperator()
2875 return getDeclName().getCXXLiteralIdentifier(); in getLiteralIdentifier()
3281 if (!isImplicit() || getDeclName()) in isAnonymousStructOrUnion()
[all …]
H A DASTImporter.cpp885 << Field2->getDeclName(); in IsStructurallyEquivalent()
891 << Field1->getDeclName(); in IsStructurallyEquivalent()
1119 << EC1->getDeclName() in IsStructurallyEquivalent()
1134 << EC2->getDeclName() in IsStructurallyEquivalent()
1137 << EC1->getDeclName() in IsStructurallyEquivalent()
1149 << EC2->getDeclName() in IsStructurallyEquivalent()
1826 if (D->getDeclName() && !Name) in ImportDeclParts()
3154 if (D->getDeclName() && !Name) in VisitImplicitParamDecl()
3180 if (D->getDeclName() && !Name) in VisitParmVarDecl()
3521 << To->getDeclName(); in ImportDefinition()
[all …]
H A DDeclBase.cpp1156 if (!ND->getDeclName()) return; in removeDecl()
1161 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1214 if (!D->getDeclName()) in shouldBeHidden()
1423 if (ND->getDeclName() == Name) in localUncachedLookup()
1542 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1543 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1546 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
H A DNSAPI.cpp394 TDT->getDecl()->getDeclName().getAsIdentifierInfo()->getName()) in GetNSIntegralKind()
424 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) in isObjCTypedef()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp205 Writer.AddDeclarationName(D->getDeclName(), Record); in VisitNamedDecl()
234 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
308 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
335 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
367 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitFunctionDecl()
575 D->getDeclName()) in VisitObjCIvarDecl()
692 if (!D->getDeclName()) in VisitFieldDecl()
707 D->getDeclName()) in VisitFieldDecl()
776 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
966 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitUsingDecl()
[all …]
H A DASTReaderDecl.cpp621 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName(), Record, Idx); in VisitFunctionDecl()
1013 if (!FD->getDeclName()) { in VisitFieldDecl()
1222 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUsingDecl()
1254 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUnresolvedUsingValueDecl()
2411 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); in isSameEntity()
2556 DeclarationName Name = New->getDeclName(); in ~FindExistingResult()
2642 : D->getDeclName(); in findExisting()
3343 if (Cat->getDeclName()) { in add()
3360 << Interface->getDeclName() << Cat->getDeclName(); in add()
3388 if (Cat->getDeclName()) in ObjCCategoriesVisitor()
[all …]
H A DASTCommon.cpp226 if (D->getDeclName() || !isa<CXXRecordDecl>(D->getLexicalDeclContext())) in needsAnonymousDeclarationNumber()
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DTypoCorrection.h55 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS),
/minix/external/bsd/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp307 if (Node.getDeclName()) { in matchesNodeUnqualified()

123