| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaObjCProperty.cpp | 99 << property->getDeclName() in checkPropertyDeclWithOwnership() 116 Proto->lookup(Prop->getDeclName()).find_first<ObjCPropertyDecl>()) { in CheckPropertyAgainstProtocol() 235 Super->lookup(Res->getDeclName()).find_first<ObjCPropertyDecl>()) { in ActOnProperty() 399 << NewProperty->getDeclName() << "atomic" in checkAtomicPropertyMismatch() 465 << CCPrimary->getDeclName(); in HandlePropertyInClassExtension() 714 << PDecl->getDeclName(); in CreatePropertyDecl() 764 << property->getDeclName() in checkARCPropertyImpl() 765 << ivar->getDeclName() in checkARCPropertyImpl() 771 << property->getDeclName() in checkARCPropertyImpl() 772 << ivar->getDeclName(); in checkARCPropertyImpl() [all …]
|
| D | IdentifierResolver.cpp | 145 DeclarationName Name = D->getDeclName(); in AddDecl() 170 DeclarationName Name = D->getDeclName(); in InsertDeclAfter() 211 DeclarationName Name = D->getDeclName(); in RemoveDecl() 417 void *InfoPtr = D->getDeclName().getFETokenInfo(); in incrementSlowCase()
|
| D | SemaDeclObjC.cpp | 303 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 321 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 621 SuperClassDecl->getDeclName(), 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 …]
|
| D | SemaTemplateInstantiateDecl.cpp | 886 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl() 987 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl() 1000 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl() 1051 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl() 1138 D->getLocation(), D->getDeclName()); in VisitFieldDecl() 1174 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl() 1197 if (!Field->getDeclName()) { in VisitFieldDecl() 1224 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl() 1244 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl() 1531 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl() [all …]
|
| D | AnalysisBasedWarnings.cpp | 345 FD->getDeclName().getCXXOverloadedOperator() == OO_Delete || in EmitDiagForCXXThrowInNonThrowingFunc() 346 FD->getDeclName().getCXXOverloadedOperator() == OO_Array_Delete)) { in EmitDiagForCXXThrowInNonThrowingFunc() 761 << VD->getDeclName() in SuggestInitializationFixit() 781 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit() 819 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 826 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 962 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse() 975 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 983 << VD->getDeclName() << Use.getUser()->getSourceRange(); in DiagnoseUninitializedConstRefUse() 1015 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse() [all …]
|
| D | SemaDeclCXX.cpp | 101 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr() 117 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr() 602 << New->getDeclName() in MergeCXXFunctionDecl() 1256 S.BuildReferenceType(T, E.get()->isLValue(), Loc, B->getDeclName()); in checkTupleLikeDecomposition() 1261 B->getDeclName().getAsIdentifierInfo(), RefType, in checkTupleLikeDecomposition() 1283 DeclarationNameInfo(B->getDeclName(), Loc), in checkTupleLikeDecomposition() 1406 if (!FD->getDeclName()) { in checkMemberDecomposition() 1449 DeclarationNameInfo(FD->getDeclName(), Loc)); in checkMemberDecomposition() 1662 << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects() 1664 << !FD << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects() [all …]
|
| D | SemaDecl.cpp | 1243 LookupResult Result(*this, Found->getDeclName(), NameLoc, LookupOrdinaryName); in ActOnNameClassifiedAsNonType() 1501 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains() 1519 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains() 1782 } else if (!D->getDeclName()) { in ShouldDiagnoseUnusedDecl() 1924 if (!VD->isReferenced() || !VD->getDeclName() || VD->hasAttr<UnusedAttr>()) in DiagnoseUnusedButSetDecl() 1995 if (!D->getDeclName()) continue; in ActOnPopScope() 2336 << New->getDeclName(); in MergeTypedefNameDecl() 2431 << New->getDeclName(); in MergeTypedefNameDecl() 2452 << New->getDeclName(); in MergeTypedefNameDecl() 2745 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef() [all …]
|
| D | SemaAccess.cpp | 275 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo() 377 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo() 486 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend() 1281 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
|
| D | SemaExprObjC.cpp | 1197 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1200 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1328 << Method->getDeclName(); in ParseObjCSelectorExpression() 1338 << LikelyTargetMethod->getDeclName(); in ParseObjCSelectorExpression() 1346 << GlobalDirectMethod->getDeclName(); in ParseObjCSelectorExpression() 2145 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr() 2399 << Method->getDeclName(); in ActOnSuperMessage() 2573 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI() 2669 << Method->getDeclName(); in BuildClassMessage() 2707 << Method->getDeclName(); in BuildClassMessage() [all …]
|
| D | SemaExprMember.cpp | 849 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference() 867 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference() 1359 << IDecl->getDeclName() << MemberName); in LookupMemberExpr() 1385 << IDecl->getDeclName() << MemberName in LookupMemberExpr() 1426 << IV->getDeclName(); in LookupMemberExpr() 1430 << IV->getDeclName(); in LookupMemberExpr() 1454 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| D | Disasm.cpp | 29 DeclarationName Name = Cons->getParent()->getDeclName(); in dump() 32 OS << F->getDeclName() << ":\n"; in dump()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | ASTImporterLookupTable.cpp | 90 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add() 96 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in remove() 148 return 0 < lookup(DC, ND->getDeclName()).count(ND); in contains()
|
| D | DeclPrinter.cpp | 538 if (D->getDeclName()) in VisitEnumDecl() 539 Out << ' ' << D->getDeclName(); in VisitEnumDecl() 647 Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString(); in VisitFunctionDecl() 957 if (D->getDeclName()) in VisitNamespaceDecl() 958 Out << D->getDeclName() << ' '; in VisitNamespaceDecl() 1138 else if (TTP->getDeclName()) in VisitTemplateDecl() 1141 if (TTP->getDeclName()) in VisitTemplateDecl() 1142 Out << TTP->getDeclName(); in VisitTemplateDecl() 1263 Out << Param->getDeclName(); in PrintObjCTypeParams() 1620 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl() [all …]
|
| D | ASTStructuralEquivalence.cpp | 131 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(), in IsStructurallyEquivalent() 132 Name2.getCXXDeductionGuideTemplate()->getDeclName())) in IsStructurallyEquivalent() 217 if (!IsStructurallyEquivalent(Context, DE1->getDeclName(), in IsStmtEquivalent() 218 DE2->getDeclName())) in IsStmtEquivalent() 490 return TN1->getDeclName() == TN2->getDeclName(); in IsStructurallyEquivalent() 1256 << Field2->getDeclName(); in IsStructurallyEquivalent() 1258 << Field1->getDeclName(); in IsStructurallyEquivalent() 1271 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent() 1273 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent() 1370 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent() [all …]
|
| D | Decl.cpp | 1585 if (getDeclName()) in printQualifiedName() 1629 DeclarationName NameInScope = getDeclName(); in printNestedNameSpecifier() 1647 NameInScope = ND->getDeclName(); in printNestedNameSpecifier() 1735 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces() 1961 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange() 3064 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator() 3065 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator() 3066 getDeclName().getCXXOverloadedOperator() == OO_Delete || in isReservedGlobalPlacementOperator() 3067 getDeclName().getCXXOverloadedOperator() == OO_Array_New || in isReservedGlobalPlacementOperator() 3068 getDeclName().getCXXOverloadedOperator() == OO_Array_Delete); in isReservedGlobalPlacementOperator() [all …]
|
| D | DeclarationName.cpp | 101 return compare(LHS.getCXXDeductionGuideTemplate()->getDeclName(), in compare() 102 RHS.getCXXDeductionGuideTemplate()->getDeclName()); in compare() 172 getCXXDeductionGuideTemplate()->getDeclName().print(OS, Policy); in print()
|
| D | DeclBase.cpp | 1438 if (!D->getDeclName()) in shouldBeHidden() 1509 if (!ND->getDeclName()) in removeDecl() 1516 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl() 1766 if (ND->getDeclName() == Name) in localUncachedLookup() 1898 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl() 1899 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl() 1902 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| D | Lookup.cpp | 77 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace() 78 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| D | VirtualCallChecker.cpp | 128 OS << "virtual method '" << MD->getParent()->getDeclName() in checkPreCall() 129 << "::" << MD->getDeclName() << "' during "; in checkPreCall()
|
| D | MoveChecker.cpp | 504 return (MethodDec && MethodDec->getDeclName().isIdentifier() && in isMoveSafeMethod() 514 if (MethodDec->getDeclName().isIdentifier()) { in isStateResetMethod() 578 OS << " '" << RegionDecl->getDeclName() << "'"; in explainObject()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| D | ASTUtils.h | 76 if (!ND->getDeclName().isIdentifier()) in safeGetName()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Index/ |
| D | IndexingContext.cpp | 231 for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) { in adjustTemplateImplicitInstantiation() 241 for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName())) in adjustTemplateImplicitInstantiation() 275 return (ND->getDeclName().isEmpty() && !isa<TagDecl>(ND) && in shouldSkipNamelessDecl()
|
| D | FileIndexRecord.cpp | 68 OS << ' ' << ND->getDeclName(); in print()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| D | ClangExternalASTSourceCallbacks.cpp | 58 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/ |
| D | ASTWriterDecl.cpp | 365 Record.AddDeclarationName(D->getDeclName()); in VisitNamedDecl() 397 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl() 427 Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo()); in VisitTagDecl() 470 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl() 505 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl() 543 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitFunctionDecl() 807 D->getDeclName()) in VisitObjCIvarDecl() 929 if (!D->getDeclName()) in VisitFieldDecl() 946 D->getDeclName()) in VisitFieldDecl() 1066 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl() [all …]
|