Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp100 << property->getDeclName() in checkPropertyDeclWithOwnership()
399 << NewProperty->getDeclName() << "atomic" in checkAtomicPropertyMismatch()
456 << CCPrimary->getDeclName(); in HandlePropertyInClassExtension()
699 << PDecl->getDeclName(); in CreatePropertyDecl()
749 << property->getDeclName() in checkARCPropertyImpl()
750 << ivar->getDeclName() in checkARCPropertyImpl()
756 << property->getDeclName() in checkARCPropertyImpl()
757 << ivar->getDeclName(); in checkARCPropertyImpl()
762 << property->getDeclName() << ivar->getDeclName() in checkARCPropertyImpl()
1016 for (auto *Found : OrigClass->lookup(Prop->getDeclName())) { in hasWrittenStorageAttribute()
[all …]
H A DSemaDeclObjC.cpp310 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
328 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
629 SuperClassDecl->getDeclName(), ClassName, in ActOnSuperClassOfClassInterface()
880 << newTypeParam->getDeclName() in checkTypeParamListConsistency()
882 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()
907 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()
926 << newTypeParam->getDeclName() in checkTypeParamListConsistency()
929 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency()
930 << prevTypeParam->getDeclName() in checkTypeParamListConsistency()
937 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1012 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
1123 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in InstantiateTypeAliasTemplateDecl()
1136 D->getDeclName(), InstParams, AliasInst); in InstantiateTypeAliasTemplateDecl()
1194 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl()
1284 D->getLocation(), D->getDeclName()); in VisitFieldDecl()
1320 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl()
1343 if (!Field->getDeclName()) { in VisitFieldDecl()
1370 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl()
1390 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl()
1677 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl()
[all …]
H A DSemaBPF.cpp61 if (!RT->getDecl()->getDeclName().isEmpty()) in isValidPreserveTypeInfoArg()
64 if (!ET->getDecl()->getDeclName().isEmpty()) in isValidPreserveTypeInfoArg()
H A DAnalysisBasedWarnings.cpp372 FD->getDeclName().getCXXOverloadedOperator() == OO_Delete || in EmitDiagForCXXThrowInNonThrowingFunc()
373 FD->getDeclName().getCXXOverloadedOperator() == OO_Array_Delete)) { in EmitDiagForCXXThrowInNonThrowingFunc()
788 << VD->getDeclName() in SuggestInitializationFixit()
808 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
846 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
853 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
989 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse()
1002 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
1010 << VD->getDeclName() << Use.getUser()->getSourceRange(); in DiagnoseUninitializedConstRefUse()
1042 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
[all …]
H A DSemaDeclCXX.cpp120 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
610 << New->getDeclName() in MergeCXXFunctionDecl()
1310 S.BuildReferenceType(T, E.get()->isLValue(), Loc, B->getDeclName()); in checkTupleLikeDecomposition()
1315 B->getDeclName().getAsIdentifierInfo(), RefType, in checkTupleLikeDecomposition()
1337 DeclarationNameInfo(B->getDeclName(), Loc), in checkTupleLikeDecomposition()
1459 if (!FD->getDeclName()) { in checkMemberDecomposition()
1502 DeclarationNameInfo(FD->getDeclName(), Loc)); in checkMemberDecomposition()
1710 << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects()
1712 << !FD << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects()
2707 << BaseDecl->getDeclName(); in CheckBaseSpecifier()
[all...]
H A DSemaExprObjC.cpp1204 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1207 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1337 << Method->getDeclName(); in ParseObjCSelectorExpression()
1348 << LikelyTargetMethod->getDeclName(); in ParseObjCSelectorExpression()
1356 << GlobalDirectMethod->getDeclName(); in ParseObjCSelectorExpression()
2157 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr()
2408 << Method->getDeclName(); in ActOnSuperMessage()
2585 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI()
2677 << Method->getDeclName(); in BuildClassMessage()
2716 << Method->getDeclName(); in BuildClassMessage()
[all …]
H A DSemaAccess.cpp283 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
385 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
494 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1289 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
H A DSemaExprMember.cpp246 DeclarationName N = Method->getParamDecl(0)->getDeclName(); in diagnoseInstanceReference()
887 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
905 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1422 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1448 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1489 << IV->getDeclName(); in LookupMemberExpr()
1493 << IV->getDeclName(); in LookupMemberExpr()
1516 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
H A DSemaDecl.cpp1254 LookupResult Result(*this, Found->getDeclName(), NameLoc, LookupOrdinaryName); in ActOnNameClassifiedAsNonType()
1518 if (isa<UsingEnumDecl>(D) && D->getDeclName().isEmpty()) { in PushOnScopeChains()
1523 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
1541 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1928 } else if (!D->getDeclName()) { in ShouldDiagnoseUnusedDecl()
2101 if (!VD->isReferenced() || !VD->getDeclName() || VD->hasAttr<CleanupAttr>()) in DiagnoseUnusedButSetDecl()
2220 if (!D->getDeclName()) continue; in ActOnPopScope()
2518 << New->getDeclName(); in MergeTypedefNameDecl()
2613 << New->getDeclName(); in MergeTypedefNameDecl()
2634 << New->getDeclName(); in MergeTypedefNameDecl()
[all …]
H A DSemaObjC.cpp85 Diag(Loc, diag::warn_auto_var_is_id) << D->getDeclName(); in ActOnObjCForCollectionStmt()
527 << objcClass->getDeclName() << FixItHint::CreateRemoval(typeArgsRange); in applyObjCTypeArgs()
596 << false << objcClass->getDeclName() << (unsigned)typeArgs.size() in applyObjCTypeArgs()
635 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
637 << typeParam->getDeclName(); in applyObjCTypeArgs()
663 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
665 << typeParam->getDeclName(); in applyObjCTypeArgs()
697 << (typeArgs.size() < typeParams->size()) << objcClass->getDeclName() in applyObjCTypeArgs()
2303 << FDecl->getDeclName(); in DiagnoseCStringFormatDirectiveInCFAPI()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp105 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
111 const DeclarationName Name = ND->getDeclName(); in remove()
158 LookupTable[OldDC][ND->getDeclName()].remove(ND); in updateForced()
177 return lookup(DC, ND->getDeclName()).contains(ND); in contains()
H A DODRDiagsEmitter.cpp79 DeclarationName FirstName = FirstMethod->getDeclName(); in diagnoseSubMismatchMethodParameters()
89 DeclarationName SecondName = SecondMethod->getDeclName(); in diagnoseSubMismatchMethodParameters()
132 DeclarationName FirstParamName = FirstParam->getDeclName(); in diagnoseSubMismatchMethodParameters()
133 DeclarationName SecondParamName = SecondParam->getDeclName(); in diagnoseSubMismatchMethodParameters()
268 DeclarationName FirstName = FirstTD->getDeclName(); in diagnoseSubMismatchTypedef()
269 DeclarationName SecondName = SecondTD->getDeclName(); in diagnoseSubMismatchTypedef()
311 DeclarationName FirstName = FirstVD->getDeclName(); in diagnoseSubMismatchVar()
312 DeclarationName SecondName = SecondVD->getDeclName(); in diagnoseSubMismatchVar()
403 DeclarationName FirstProtocolName = FirstProtocol->getDeclName(); in diagnoseSubMismatchProtocols()
404 DeclarationName SecondProtocolName = SecondProtocol->getDeclName(); in diagnoseSubMismatchProtocols()
[all …]
H A DDeclPrinter.cpp581 if (D->getDeclName()) in VisitEnumDecl()
582 Out << ' ' << D->getDeclName(); in VisitEnumDecl()
704 Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString(); in VisitFunctionDecl()
1043 if (D->getDeclName()) in VisitNamespaceDecl()
1044 Out << D->getDeclName() << ' '; in VisitNamespaceDecl()
1246 else if (TTP->getDeclName()) in VisitTemplateDecl()
1249 if (TTP->getDeclName()) { in VisitTemplateDecl()
1253 Out << TTP->getDeclName(); in VisitTemplateDecl()
1376 Out << Param->getDeclName(); in PrintObjCTypeParams()
1738 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl()
[all …]
H A DASTStructuralEquivalence.cpp136 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(), in IsStructurallyEquivalent()
137 Name2.getCXXDeductionGuideTemplate()->getDeclName())) in IsStructurallyEquivalent()
231 if (!IsStructurallyEquivalent(Context, DE1->getDeclName(), in IsStmtEquivalent()
232 DE2->getDeclName())) in IsStmtEquivalent()
613 return TN1->getDeclName() == TN2->getDeclName(); in IsStructurallyEquivalent()
1455 << Field2->getDeclName(); in IsStructurallyEquivalent()
1457 << Field1->getDeclName(); in IsStructurallyEquivalent()
1470 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
1472 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
1626 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
[all …]
H A DDecl.cpp1687 if (getDeclName()) in printQualifiedName()
1731 DeclarationName NameInScope = getDeclName(); in printNestedNameSpecifier()
1749 NameInScope = ND->getDeclName(); in printNestedNameSpecifier()
1837 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
2077 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
3334 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReservedGlobalPlacementOperator()
3336 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReservedGlobalPlacementOperator()
3337 getDeclName().getCXXOverloadedOperator() != OO_Delete && in isReservedGlobalPlacementOperator()
3338 getDeclName().getCXXOverloadedOperator() != OO_Array_New && in isReservedGlobalPlacementOperator()
3339 getDeclName().getCXXOverloadedOperator() != OO_Array_Delete) in isReservedGlobalPlacementOperator()
[all …]
H A DDeclarationName.cpp95 return compare(LHS.getCXXDeductionGuideTemplate()->getDeclName(), in compare()
96 RHS.getCXXDeductionGuideTemplate()->getDeclName()); in compare()
166 getCXXDeductionGuideTemplate()->getDeclName().print(OS, Policy); in print()
H A DODRHash.cpp304 Hash.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
645 AddDeclarationName(RefP->getDeclName()); in AddObjCInterfaceDecl()
755 AddDeclarationName(Enum->getDeclName()); in AddEnumDecl()
788 AddDeclarationName(RefP->getDeclName()); in AddObjCProtocolDecl()
817 AddDeclarationName(ND->getDeclName()); in AddDecl()
H A DDeclBase.cpp1646 if (!D->getDeclName()) in shouldBeHidden()
1717 if (!ND->getDeclName()) in removeDecl()
1724 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1979 if (ND->getDeclName() == Name) in localUncachedLookup()
2111 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
2112 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
2115 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h75 if (!ND->getDeclName().isIdentifier()) in safeGetName()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp188 if (!Result.Declaration->getDeclName().isIdentifier() || in ProcessCodeCompleteResults()
324 importedNamedDecl->getDeclName(), in completeVisibleDeclsMap()
348 SetExternalVisibleDeclsForName(ChildDeclContext, Meth->getDeclName(), in completeVisibleDeclsMap()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp65 OS << ' ' << ND->getDeclName(); in print()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp442 Record.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
474 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
512 Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo()); in VisitTagDecl()
553 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
593 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
708 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitFunctionDecl()
921 D->getDeclName()) in VisitObjCIvarDecl()
1041 if (!D->getDeclName()) in VisitFieldDecl()
1058 D->getDeclName()) in VisitFieldDecl()
1191 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp60 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp505 return (MethodDec && MethodDec->getDeclName().isIdentifier() && in isMoveSafeMethod()
515 if (MethodDec->getDeclName().isIdentifier()) { in isStateResetMethod()
580 OS << " '" << RegionDecl->getDeclName() << "'"; in explainObject()

123456