Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp99 << 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 …]
H A DIdentifierResolver.cpp145 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()
H A DSemaDeclObjC.cpp303 << 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 …]
H A DSemaTemplateInstantiateDecl.cpp850 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
951 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl()
964 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl()
1015 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl()
1083 D->getLocation(), D->getDeclName()); in VisitFieldDecl()
1119 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl()
1142 if (!Field->getDeclName()) { in VisitFieldDecl()
1169 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl()
1189 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl()
1476 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl()
[all …]
H A DAnalysisBasedWarnings.cpp345 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 …]
H A DSemaDeclCXX.cpp101 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
117 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
604 << New->getDeclName() in MergeCXXFunctionDecl()
1258 S.BuildReferenceType(T, E.get()->isLValue(), Loc, B->getDeclName()); in checkTupleLikeDecomposition()
1263 B->getDeclName().getAsIdentifierInfo(), RefType, in checkTupleLikeDecomposition()
1285 DeclarationNameInfo(B->getDeclName(), Loc), in checkTupleLikeDecomposition()
1408 if (!FD->getDeclName()) { in checkMemberDecomposition()
1451 DeclarationNameInfo(FD->getDeclName(), Loc)); in checkMemberDecomposition()
1664 << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects()
1666 << !FD << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects()
[all …]
H A DSemaDecl.cpp1230 LookupResult Result(*this, Found->getDeclName(), NameLoc, LookupOrdinaryName); in ActOnNameClassifiedAsNonType()
1488 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
1506 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1769 } else if (!D->getDeclName()) { in ShouldDiagnoseUnusedDecl()
1943 if (!D->getDeclName()) continue; in ActOnPopScope()
2284 << New->getDeclName(); in MergeTypedefNameDecl()
2379 << New->getDeclName(); in MergeTypedefNameDecl()
2400 << New->getDeclName(); in MergeTypedefNameDecl()
2693 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef()
3246 << New->getDeclName(); in MergeFunctionDecl()
[all …]
H A DSemaExprObjC.cpp1197 << 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 …]
H A DSemaAccess.cpp275 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()
H A DSemaExprMember.cpp848 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
866 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1358 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1384 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1425 << IV->getDeclName(); in LookupMemberExpr()
1429 << IV->getDeclName(); in LookupMemberExpr()
1453 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
H A DSemaTemplate.cpp830 << /*member function*/ 1 << Instantiation->getDeclName() in DiagnoseUninstantiableTemplate()
861 << /*static data member*/ 2 << Instantiation->getDeclName() in DiagnoseUninstantiableTemplate()
892 Diag(Loc, DiagId) << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow()
2289 TTP->getDefaultArgumentLoc(), TTP->getDeclName()); in transformTemplateParameter()
2380 OldParam->getLocation(), OldParam->getDeclName()); in transformFunctionTypeParam()
2387 OldParam->getDeclName()); in transformFunctionTypeParam()
3426 << Template->getDeclName(); in NoteAllFoundTemplates()
3435 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates()
3717 AliasTemplate->getDeclName()); in CheckTemplateIdType()
3860 II = ATN->getDeclName().getAsIdentifierInfo(); in ActOnUndeclaredTypeTemplateName()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclPrinter.cpp537 if (D->getDeclName()) in VisitEnumDecl()
538 Out << ' ' << D->getDeclName(); in VisitEnumDecl()
646 Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString(); in VisitFunctionDecl()
956 if (D->getDeclName()) in VisitNamespaceDecl()
957 Out << D->getDeclName() << ' '; in VisitNamespaceDecl()
1137 else if (TTP->getDeclName()) in VisitTemplateDecl()
1140 if (TTP->getDeclName()) in VisitTemplateDecl()
1141 Out << TTP->getDeclName(); in VisitTemplateDecl()
1263 Out << Param->getDeclName(); in PrintObjCTypeParams()
1616 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl()
[all …]
H A DASTStructuralEquivalence.cpp130 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(), in IsStructurallyEquivalent()
131 Name2.getCXXDeductionGuideTemplate()->getDeclName())) in IsStructurallyEquivalent()
216 if (!IsStructurallyEquivalent(Context, DE1->getDeclName(), in IsStmtEquivalent()
217 DE2->getDeclName())) in IsStmtEquivalent()
489 return TN1->getDeclName() == TN2->getDeclName(); in IsStructurallyEquivalent()
1255 << Field2->getDeclName(); in IsStructurallyEquivalent()
1257 << Field1->getDeclName(); in IsStructurallyEquivalent()
1270 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
1272 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
1369 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
[all …]
H A DDecl.cpp1585 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()
3071 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
3072 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator()
3073 getDeclName().getCXXOverloadedOperator() == OO_Delete || in isReservedGlobalPlacementOperator()
3074 getDeclName().getCXXOverloadedOperator() == OO_Array_New || in isReservedGlobalPlacementOperator()
3075 getDeclName().getCXXOverloadedOperator() == OO_Array_Delete); in isReservedGlobalPlacementOperator()
[all …]
H A DASTImporterLookupTable.cpp90 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
96 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in remove()
H A DDeclarationName.cpp101 return compare(LHS.getCXXDeductionGuideTemplate()->getDeclName(), in compare()
102 RHS.getCXXDeductionGuideTemplate()->getDeclName()); in compare()
172 getCXXDeductionGuideTemplate()->getDeclName().print(OS, Policy); in print()
H A DDeclBase.cpp1429 if (!D->getDeclName()) in shouldBeHidden()
1500 if (!ND->getDeclName()) in removeDecl()
1507 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1757 if (ND->getDeclName() == Name) in localUncachedLookup()
1889 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1890 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1893 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DDisasm.cpp29 DeclarationName Name = Cons->getParent()->getDeclName(); in dump()
32 OS << F->getDeclName() << ":\n"; in dump()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DLookup.cpp77 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace()
78 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp128 OS << "virtual method '" << MD->getParent()->getDeclName() in checkPreCall()
129 << "::" << MD->getDeclName() << "' during "; in checkPreCall()
H A DMoveChecker.cpp504 return (MethodDec && MethodDec->getDeclName().isIdentifier() && in isMoveSafeMethod()
514 if (MethodDec->getDeclName().isIdentifier()) { in isStateResetMethod()
578 OS << " '" << RegionDecl->getDeclName() << "'"; in explainObject()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h76 if (!ND->getDeclName().isIdentifier()) in safeGetName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexingContext.cpp231 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()
H A DFileIndexRecord.cpp73 OS << ' ' << ND->getDeclName(); in print()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp363 Record.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
395 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
425 Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo()); in VisitTagDecl()
468 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
503 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
541 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitFunctionDecl()
805 D->getDeclName()) in VisitObjCIvarDecl()
927 if (!D->getDeclName()) in VisitFieldDecl()
944 D->getDeclName()) in VisitFieldDecl()
1064 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
[all …]

12345