Home
last modified time | relevance | path

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

123456

/src/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()
/src/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 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.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 DSemaBPF.cpp61 if (!RT->getDecl()->getDeclName().isEmpty()) in isValidPreserveTypeInfoArg()
64 if (!ET->getDecl()->getDeclName().isEmpty()) in isValidPreserveTypeInfoArg()
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 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()
/src/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()
/src/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()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h75 if (!ND->getDeclName().isIdentifier()) in safeGetName()
/src/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()
/src/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()
/src/contrib/llvm-project/clang/lib/Index/
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()
H A DFileIndexRecord.cpp65 OS << ' ' << ND->getDeclName(); in print()
/src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp60 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()
/src/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 …]

123456