Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.cpp30 if (ParentClass == nullptr || !ParentClass->getDeclName().isIdentifier() || in isCheckLikeMethod()
37 if (N == nullptr || !N->getDeclName().isIdentifier() || in isCheckLikeMethod()
46 if (M->getDeclName().isIdentifier() && M->getName().ends_with("Check")) in isCheckLikeMethod()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp99 << property->getDeclName() in checkPropertyDeclWithOwnership()
764 << property->getDeclName() in checkARCPropertyImpl()
765 << ivar->getDeclName() in checkARCPropertyImpl()
771 << property->getDeclName() in checkARCPropertyImpl()
772 << ivar->getDeclName(); in checkARCPropertyImpl()
777 << property->getDeclName() << ivar->getDeclName() in checkARCPropertyImpl()
1194 << Category->getDeclName(); in ActOnPropertyImplDecl()
1352 << property->getDeclName() << Ivar->getDeclName() in ActOnPropertyImplDecl()
1401 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1410 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
[all …]
H A DIdentifierResolver.cpp156 DeclarationName Name = D->getDeclName(); in AddDecl()
181 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
222 DeclarationName Name = D->getDeclName(); in RemoveDecl()
431 void *InfoPtr = D->getDeclName().getFETokenInfo(); in incrementSlowCase()
H A DSemaDeclObjC.cpp303 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
321 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
929 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency()
1487 << proto->getDeclName(); in actOnObjCTypeArgsOrProtocolQualifiers()
1957 << IDecl->getDeclName(); in ActOnStartCategoryImplementation()
2039 << SDecl->getDeclName(); in ActOnStartClassImplementation()
2107 << IDecl->getDeclName() in ActOnStartClassImplementation()
2667 << MethodDecl->getDeclName(); in WarnExactTypedMethods()
3921 << FirstIvar->getDeclName() << LastIvar->getDeclName() in DiagnoseVariableSizedIvars()
4051 << Method->getDeclName(); in ActOnAtEnd()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1153 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl()
1302 if (!Field->getDeclName()) { in VisitFieldDecl()
1781 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplatePartialSpecializationDecl()
2256 SemaRef, Function->getDeclName(), SourceLocation(), in VisitFunctionDecl()
4623 FunctionParam->getDeclName()); in addInstantiatedParametersToScope()
6045 if (!Field->getDeclName()) { in isInstantiationOf()
6058 return D->getDeclName() && in isInstantiationOf()
6059 D->getDeclName() == cast<NamedDecl>(Other)->getDeclName(); in isInstantiationOf()
6347 if (auto Name = D->getDeclName()) { in FindInstantiatedDecl()
6386 << D->getDeclName() in FindInstantiatedDecl()
[all …]
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()
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()
1053 << VD->getDeclName() in DiagnoseUninitializedUse()
1064 << VD->getDeclName(); in DiagnoseUninitializedUse()
[all …]
H A DSemaDeclCXX.cpp624 << New->getDeclName() in MergeCXXFunctionDecl()
1471 if (!FD->getDeclName()) { in checkMemberDecomposition()
3319 << MD->getDeclName(); in CheckOverrideControl()
3367 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal()
5721 << Field->getDeclName() in CheckRedundantInit()
6073 << SO->second.front().Method->getDeclName() << RD->getDeclName(); in DiagnoseAbstractType()
6388 << CD->getDeclName(); in checkForMultipleExportedDefaultConstructors()
7021 << F->getDeclName(); in CheckCompletedCXXClass()
7043 << D->getDeclName(); in CheckCompletedCXXClass()
10753 if (Param->getDeclName()) in ActOnReenterCXXMethodParameter()
[all …]
H A DSemaAccess.cpp285 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
387 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
496 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1291 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
H A DSemaExprObjC.cpp1195 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1326 << Method->getDeclName(); in ParseObjCSelectorExpression()
2399 << Method->getDeclName(); in ActOnSuperMessage()
2576 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI()
2672 << Method->getDeclName(); in BuildClassMessage()
2710 << Method->getDeclName(); in BuildClassMessage()
2721 << Method->getDeclName(); in BuildClassMessage()
2729 << Method->getDeclName(); in BuildClassMessage()
2731 << CurMeth->getDeclName(); in BuildClassMessage()
3146 << Method->getDeclName(); in BuildInstanceMessage()
[all …]
H A DSemaExprMember.cpp226 DeclarationName N = Method->getParamDecl(0)->getDeclName(); in diagnoseInstanceReference()
883 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
901 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1408 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1434 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1475 << IV->getDeclName(); in LookupMemberExpr()
1479 << IV->getDeclName(); in LookupMemberExpr()
1503 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
/freebsd-14.2/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()
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()
493 DeclarationName FirstName = FirstMethod->getDeclName(); in diagnoseSubMismatchObjCMethod()
1710 if (FirstParam->getDeclName() != SecondParam->getDeclName()) { in diagnoseMismatch()
1713 << I + 1 << FirstParam->getDeclName(); in diagnoseMismatch()
1716 << I + 1 << SecondParam->getDeclName(); in diagnoseMismatch()
[all …]
H A DDeclPrinter.cpp627 if (D->getDeclName()) in VisitEnumDecl()
1101 if (D->getDeclName()) in VisitNamespaceDecl()
1289 else if (TTP->getDeclName()) in VisitTemplateDecl()
1292 if (TTP->getDeclName()) { in VisitTemplateDecl()
1296 Out << TTP->getDeclName(); in VisitTemplateDecl()
1419 Out << Param->getDeclName(); in PrintObjCTypeParams()
1776 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl()
1783 Out << D->getDeclName(); in VisitUnresolvedUsingValueDecl()
1919 else if (TTP->getDeclName()) in VisitTemplateTypeParmDecl()
1922 if (TTP->getDeclName()) { in VisitTemplateTypeParmDecl()
[all …]
H A DASTStructuralEquivalence.cpp136 Name2.getCXXDeductionGuideTemplate()->getDeclName())) in IsStructurallyEquivalent()
230 if (!IsStructurallyEquivalent(Context, DE1->getDeclName(), in IsStmtEquivalent()
231 DE2->getDeclName())) in IsStmtEquivalent()
603 return TN1->getDeclName() == TN2->getDeclName(); in IsStructurallyEquivalent()
1421 << Field2->getDeclName(); in IsStructurallyEquivalent()
1423 << Field1->getDeclName(); in IsStructurallyEquivalent()
1436 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
1438 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
1597 if (!D1->getDeclName() && !D2->getDeclName()) { in IsStructurallyEquivalent()
1798 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
[all …]
H A DDecl.cpp1702 if (getDeclName()) in printQualifiedName()
1746 DeclarationName NameInScope = getDeclName(); in printNestedNameSpecifier()
1764 NameInScope = ND->getDeclName(); in printNestedNameSpecifier()
1852 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
2092 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
3472 if (!Namespace->getDeclName()) in isGlobal()
3923 return getDeclName().getCXXOverloadedOperator(); in getOverloadedOperator()
3931 return getDeclName().getCXXLiteralIdentifier(); in getLiteralIdentifier()
4505 if (!isImplicit() || getDeclName()) in isAnonymousStructOrUnion()
4748 DeclarationName Name = getDeclName(); in printName()
[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 DDeclBase.cpp1582 if (!D->getDeclName()) in shouldBeHidden()
1653 if (!ND->getDeclName()) in removeDecl()
1660 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1915 if (ND->getDeclName() == Name) in localUncachedLookup()
2047 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
2048 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
2051 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DLookup.cpp77 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace()
78 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h72 if (!ND->getDeclName().isIdentifier()) in safeGetName()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp128 OS << "virtual method '" << MD->getParent()->getDeclName() in checkPreCall()
129 << "::" << MD->getDeclName() << "' during "; in checkPreCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp65 OS << ' ' << ND->getDeclName(); in print()
H A DIndexingContext.cpp229 for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) { in adjustTemplateImplicitInstantiation()
239 for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName())) in adjustTemplateImplicitInstantiation()
270 return (ND->getDeclName().isEmpty() && !isa<TagDecl>(ND) && in shouldSkipNamelessDecl()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp59 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp403 Record.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
435 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
473 Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo()); in VisitTagDecl()
518 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
558 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
673 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitFunctionDecl()
883 D->getDeclName()) in VisitObjCIvarDecl()
1003 if (!D->getDeclName()) in VisitFieldDecl()
1020 D->getDeclName()) in VisitFieldDecl()
1373 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitUsingDecl()
[all …]

123456