Home
last modified time | relevance | path

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

123456

/openbsd-src/gnu/llvm/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().endswith("Check")) in isCheckLikeMethod()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp99 << property->getDeclName() in checkPropertyDeclWithOwnership()
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()
777 << property->getDeclName() << ivar->getDeclName() in checkARCPropertyImpl()
1031 for (auto *Found : OrigClass->lookup(Prop->getDeclName())) { in hasWrittenStorageAttribute()
[all …]
H A DIdentifierResolver.cpp151 DeclarationName Name = D->getDeclName(); in AddDecl()
176 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
217 DeclarationName Name = D->getDeclName(); in RemoveDecl()
423 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.cpp947 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
1049 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl()
1062 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl()
1113 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl()
1203 D->getLocation(), D->getDeclName()); in VisitFieldDecl()
1239 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl()
1262 if (!Field->getDeclName()) { in VisitFieldDecl()
1289 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl()
1309 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl()
1596 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl()
[all …]
H A DAnalysisBasedWarnings.cpp349 FD->getDeclName().getCXXOverloadedOperator() == OO_Delete || in EmitDiagForCXXThrowInNonThrowingFunc()
350 FD->getDeclName().getCXXOverloadedOperator() == OO_Array_Delete)) { in EmitDiagForCXXThrowInNonThrowingFunc()
764 << VD->getDeclName() in SuggestInitializationFixit()
784 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
822 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
829 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
965 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse()
978 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
986 << VD->getDeclName() << Use.getUser()->getSourceRange(); in DiagnoseUninitializedConstRefUse()
1018 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
[all …]
H A DSemaDeclCXX.cpp109 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
617 << New->getDeclName() in MergeCXXFunctionDecl()
1291 S.BuildReferenceType(T, E.get()->isLValue(), Loc, B->getDeclName()); in checkTupleLikeDecomposition()
1296 B->getDeclName().getAsIdentifierInfo(), RefType, in checkTupleLikeDecomposition()
1318 DeclarationNameInfo(B->getDeclName(), Loc), in checkTupleLikeDecomposition()
1440 if (!FD->getDeclName()) { in checkMemberDecomposition()
1483 DeclarationNameInfo(FD->getDeclName(), Loc)); in checkMemberDecomposition()
1696 << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects()
1698 << !FD << (FD ? FD->getDeclName() : DeclarationName()) << T; in CheckConstexprDestructorSubobjects()
2659 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier()
[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 DSemaExprObjC.cpp1195 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1198 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1326 << Method->getDeclName(); in ParseObjCSelectorExpression()
1336 << LikelyTargetMethod->getDeclName(); in ParseObjCSelectorExpression()
1344 << GlobalDirectMethod->getDeclName(); in ParseObjCSelectorExpression()
2143 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr()
2397 << Method->getDeclName(); in ActOnSuperMessage()
2571 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI()
2667 << Method->getDeclName(); in BuildClassMessage()
2705 << Method->getDeclName(); in BuildClassMessage()
[all …]
H A DSemaDecl.cpp1292 LookupResult Result(*this, Found->getDeclName(), NameLoc, LookupOrdinaryName); in ActOnNameClassifiedAsNonType()
1561 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
1579 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1979 } else if (!D->getDeclName()) { in ShouldDiagnoseUnusedDecl()
2150 if (!VD->isReferenced() || !VD->getDeclName() || VD->hasAttr<UnusedAttr>() || in DiagnoseUnusedButSetDecl()
2254 if (!D->getDeclName()) continue; in ActOnPopScope()
2611 << New->getDeclName(); in MergeTypedefNameDecl()
2706 << New->getDeclName(); in MergeTypedefNameDecl()
2727 << New->getDeclName(); in MergeTypedefNameDecl()
3029 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTImporterLookupTable.cpp91 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
97 const DeclarationName Name = ND->getDeclName(); in remove()
144 LookupTable[OldDC][ND->getDeclName()].remove(ND); in updateForced()
163 return lookup(DC, ND->getDeclName()).contains(ND); in contains()
H A DDeclPrinter.cpp538 if (D->getDeclName()) in VisitEnumDecl()
539 Out << ' ' << D->getDeclName(); in VisitEnumDecl()
647 Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString(); in VisitFunctionDecl()
965 if (D->getDeclName()) in VisitNamespaceDecl()
966 Out << D->getDeclName() << ' '; in VisitNamespaceDecl()
1150 else if (TTP->getDeclName()) in VisitTemplateDecl()
1153 if (TTP->getDeclName()) { in VisitTemplateDecl()
1157 Out << TTP->getDeclName(); in VisitTemplateDecl()
1280 Out << Param->getDeclName(); in PrintObjCTypeParams()
1637 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl()
[all …]
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 DASTStructuralEquivalence.cpp133 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(), in IsStructurallyEquivalent()
134 Name2.getCXXDeductionGuideTemplate()->getDeclName())) in IsStructurallyEquivalent()
219 if (!IsStructurallyEquivalent(Context, DE1->getDeclName(), in IsStmtEquivalent()
220 DE2->getDeclName())) in IsStmtEquivalent()
522 return TN1->getDeclName() == TN2->getDeclName(); in IsStructurallyEquivalent()
1318 << Field2->getDeclName(); in IsStructurallyEquivalent()
1320 << Field1->getDeclName(); in IsStructurallyEquivalent()
1333 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
1335 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
1476 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
[all …]
H A DDecl.cpp1656 if (getDeclName()) in printQualifiedName()
1700 DeclarationName NameInScope = getDeclName(); in printNestedNameSpecifier()
1718 NameInScope = ND->getDeclName(); in printNestedNameSpecifier()
1805 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
2031 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
3194 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReservedGlobalPlacementOperator()
3196 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReservedGlobalPlacementOperator()
3197 getDeclName().getCXXOverloadedOperator() != OO_Delete && in isReservedGlobalPlacementOperator()
3198 getDeclName().getCXXOverloadedOperator() != OO_Array_New && in isReservedGlobalPlacementOperator()
3199 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 DDeclBase.cpp1491 if (!D->getDeclName()) in shouldBeHidden()
1562 if (!ND->getDeclName()) in removeDecl()
1569 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1824 if (ND->getDeclName() == Name) in localUncachedLookup()
1956 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1957 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1960 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
H A DODRHash.cpp293 Hash.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
634 AddDeclarationName(RefP->getDeclName()); in AddObjCInterfaceDecl()
734 AddDeclarationName(Enum->getDeclName()); in AddEnumDecl()
767 AddDeclarationName(RefP->getDeclName()); in AddObjCProtocolDecl()
796 AddDeclarationName(ND->getDeclName()); in AddDecl()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DDisasm.cpp38 DeclarationName Name = Cons->getParent()->getDeclName(); in dump()
41 OS << F->getDeclName(); in dump()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DLookup.cpp77 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace()
78 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h72 if (!ND->getDeclName().isIdentifier()) in safeGetName()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp128 OS << "virtual method '" << MD->getParent()->getDeclName() in checkPreCall()
129 << "::" << MD->getDeclName() << "' during "; in checkPreCall()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DFileIndexRecord.cpp65 OS << ' ' << ND->getDeclName(); in print()
H A DIndexingContext.cpp230 for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) { in adjustTemplateImplicitInstantiation()
240 for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName())) in adjustTemplateImplicitInstantiation()
271 return (ND->getDeclName().isEmpty() && !isa<TagDecl>(ND) && in shouldSkipNamelessDecl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp59 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()

123456