| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | ChromiumCheckModel.cpp | 30 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()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 99 << 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() 1402 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl() 1411 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl() [all …]
|
| H A D | IdentifierResolver.cpp | 147 DeclarationName Name = D->getDeclName(); in AddDecl() 172 DeclarationName Name = D->getDeclName(); in InsertDeclAfter() 213 DeclarationName Name = D->getDeclName(); in RemoveDecl() 419 void *InfoPtr = D->getDeclName().getFETokenInfo(); in incrementSlowCase()
|
| H A D | SemaDeclObjC.cpp | 303 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 321 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 929 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency() 1061 << PrevIDecl->getDeclName(); in ActOnStartClassInterface() 1473 << proto->getDeclName(); in actOnObjCTypeArgsOrProtocolQualifiers() 1943 << IDecl->getDeclName(); in ActOnStartCategoryImplementation() 2025 << SDecl->getDeclName(); in ActOnStartClassImplementation() 2093 << IDecl->getDeclName() in ActOnStartClassImplementation() 2658 << MethodDecl->getDeclName(); in WarnExactTypedMethods() 3914 << FirstIvar->getDeclName() << LastIvar->getDeclName() in DiagnoseVariableSizedIvars() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1105 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl() 1251 if (!Field->getDeclName()) { in VisitFieldDecl() 1722 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplatePartialSpecializationDecl() 4332 D->getDeclName(), in SubstFunctionType() 4466 FunctionParam->getDeclName()); in addInstantiatedParametersToScope() 5932 if (!Field->getDeclName()) { in isInstantiationOf() 5945 return D->getDeclName() && in isInstantiationOf() 5946 D->getDeclName() == cast<NamedDecl>(Other)->getDeclName(); in isInstantiationOf() 6233 if (auto Name = D->getDeclName()) { in FindInstantiatedDecl() 6272 << D->getDeclName() in FindInstantiatedDecl() [all …]
|
| H A D | AnalysisBasedWarnings.cpp | 345 FD->getDeclName().getCXXOverloadedOperator() == OO_Delete || in EmitDiagForCXXThrowInNonThrowingFunc() 346 FD->getDeclName().getCXXOverloadedOperator() == OO_Array_Delete)) { in EmitDiagForCXXThrowInNonThrowingFunc() 760 << VD->getDeclName() in SuggestInitializationFixit() 818 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 825 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 961 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse() 974 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 982 << VD->getDeclName() << Use.getUser()->getSourceRange(); in DiagnoseUninitializedConstRefUse() 1025 << VD->getDeclName() in DiagnoseUninitializedUse() 1036 << VD->getDeclName(); in DiagnoseUninitializedUse() [all …]
|
| H A D | SemaDeclCXX.cpp | 603 << New->getDeclName() in MergeCXXFunctionDecl() 1406 if (!FD->getDeclName()) { in checkMemberDecomposition() 3135 << MD->getDeclName(); in CheckOverrideControl() 3183 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal() 5488 << Field->getDeclName() in CheckRedundantInit() 5834 << SO->second.front().Method->getDeclName() << RD->getDeclName(); in DiagnoseAbstractType() 6149 << CD->getDeclName(); in checkForMultipleExportedDefaultConstructors() 6770 << F->getDeclName(); in CheckCompletedCXXClass() 6792 << D->getDeclName(); in CheckCompletedCXXClass() 10368 if (Param->getDeclName()) in ActOnReenterCXXMethodParameter() [all …]
|
| H A D | HLSLExternalSemaSource.cpp | 79 DeclarationNameInfo(SizeParam->getDeclName(), SourceLocation()), in defineHLSLVectorAlias()
|
| H A 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()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporterLookupTable.cpp | 91 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 D | DeclPrinter.cpp | 539 if (D->getDeclName()) in VisitEnumDecl() 961 if (D->getDeclName()) in VisitNamespaceDecl() 1146 else if (TTP->getDeclName()) in VisitTemplateDecl() 1149 if (TTP->getDeclName()) { in VisitTemplateDecl() 1153 Out << TTP->getDeclName(); in VisitTemplateDecl() 1276 Out << Param->getDeclName(); in PrintObjCTypeParams() 1633 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl() 1640 Out << D->getDeclName(); in VisitUnresolvedUsingValueDecl() 1761 else if (TTP->getDeclName()) in VisitTemplateTypeParmDecl() 1764 if (TTP->getDeclName()) { in VisitTemplateTypeParmDecl() [all …]
|
| H A D | ASTStructuralEquivalence.cpp | 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() 1271 << Field2->getDeclName(); in IsStructurallyEquivalent() 1273 << Field1->getDeclName(); in IsStructurallyEquivalent() 1286 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent() 1288 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent() 1434 if (!D1->getDeclName() && !D2->getDeclName()) { in IsStructurallyEquivalent() 1635 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent() [all …]
|
| H A D | Decl.cpp | 1627 if (getDeclName()) in printQualifiedName() 1671 DeclarationName NameInScope = getDeclName(); in printNestedNameSpecifier() 1689 NameInScope = ND->getDeclName(); in printNestedNameSpecifier() 1776 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces() 2002 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange() 3191 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReplaceableGlobalAllocationFunction() 3309 if (!Namespace->getDeclName()) in isGlobal() 3722 return getDeclName().getCXXOverloadedOperator(); in getOverloadedOperator() 3730 return getDeclName().getCXXLiteralIdentifier(); in getLiteralIdentifier() 4272 if (!isImplicit() || getDeclName()) in isAnonymousStructOrUnion() [all …]
|
| H A 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()
|
| H A D | DeclBase.cpp | 1461 if (!D->getDeclName()) in shouldBeHidden() 1532 if (!ND->getDeclName()) in removeDecl() 1539 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl() 1793 if (ND->getDeclName() == Name) in localUncachedLookup() 1925 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl() 1926 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl() 1929 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Disasm.cpp | 42 DeclarationName Name = Cons->getParent()->getDeclName(); in dump() 45 OS << F->getDeclName() << ":\n"; in dump()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | HelperDeclRefGraph.cpp | 119 << FuncRef->getDecl()->getDeclName() << " (" in run() 129 << "Find helper class usage: " << UsedClass->getDeclName() in run()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | Lookup.cpp | 77 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace() 78 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.h | 72 if (!ND->getDeclName().isIdentifier()) in safeGetName()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VirtualCallChecker.cpp | 128 OS << "virtual method '" << MD->getParent()->getDeclName() in checkPreCall() 129 << "::" << MD->getDeclName() << "' during "; in checkPreCall()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvmlibc/ |
| H A D | CalleeNamespaceCheck.cpp | 55 const DeclarationName &Name = FuncDecl->getDeclName(); in check()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 2702 auto FromName = FromD->getDeclName(); in TEST_P() 2711 auto ToName = ToD->getDeclName(); in TEST_P() 2757 auto ToName = ToFriend->getDeclName(); in TEST_P() 2801 auto ToName = ToNormal->getDeclName(); in TEST_P() 2844 auto ToName = ToNormalF->getDeclName(); in TEST_P() 4303 auto I = Map->find(A0->getDeclName()); in TEST_P() 4859 if (ND->getDeclName() == Name) in findInDeclListOfDC() 5039 ASSERT_NE(ToPlus->getDeclName(), FromPlus->getDeclName()); in TEST_P() 5132 DeclarationName Name = F->getDeclName(); in TEST_P() 5155 DeclarationName Name = F->getDeclName(); in TEST_P() [all …]
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexingContext.cpp | 230 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()
|
| H A D | FileIndexRecord.cpp | 67 OS << ' ' << ND->getDeclName(); in print()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExternalASTSourceCallbacks.cpp | 58 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()
|