/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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 | 151 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 D | SemaDeclObjC.cpp | 303 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 321 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 929 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency() 1487 << proto->getDeclName(); in actOnObjCTypeArgsOrProtocolQualifiers() 1957 << IDecl->getDeclName(); in ActOnStartCategoryImplementation() 2039 << SDecl->getDeclName(); in ActOnStartClassImplementation() 2107 << IDecl->getDeclName() in ActOnStartClassImplementation() 2666 << MethodDecl->getDeclName(); in WarnExactTypedMethods() 3922 << FirstIvar->getDeclName() << LastIvar->getDeclName() in DiagnoseVariableSizedIvars() 4052 << Method->getDeclName(); in ActOnAtEnd() [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 1113 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl() 1262 if (!Field->getDeclName()) { in VisitFieldDecl() 1737 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplatePartialSpecializationDecl() 2213 SemaRef, Function->getDeclName(), SourceLocation(), in VisitFunctionDecl() 4528 FunctionParam->getDeclName()); in addInstantiatedParametersToScope() 5943 if (!Field->getDeclName()) { in isInstantiationOf() 5956 return D->getDeclName() && in isInstantiationOf() 5957 D->getDeclName() == cast<NamedDecl>(Other)->getDeclName(); in isInstantiationOf() 6245 if (auto Name = D->getDeclName()) { in FindInstantiatedDecl() 6284 << D->getDeclName() in FindInstantiatedDecl() [all …]
|
H A D | AnalysisBasedWarnings.cpp | 349 FD->getDeclName().getCXXOverloadedOperator() == OO_Delete || in EmitDiagForCXXThrowInNonThrowingFunc() 350 FD->getDeclName().getCXXOverloadedOperator() == OO_Array_Delete)) { in EmitDiagForCXXThrowInNonThrowingFunc() 764 << 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() 1029 << VD->getDeclName() in DiagnoseUninitializedUse() 1040 << VD->getDeclName(); in DiagnoseUninitializedUse() [all …]
|
H A D | SemaDeclCXX.cpp | 617 << New->getDeclName() in MergeCXXFunctionDecl() 1440 if (!FD->getDeclName()) { in checkMemberDecomposition() 3169 << MD->getDeclName(); in CheckOverrideControl() 3217 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal() 5529 << Field->getDeclName() in CheckRedundantInit() 5881 << SO->second.front().Method->getDeclName() << RD->getDeclName(); in DiagnoseAbstractType() 6196 << CD->getDeclName(); in checkForMultipleExportedDefaultConstructors() 6818 << F->getDeclName(); in CheckCompletedCXXClass() 6840 << D->getDeclName(); in CheckCompletedCXXClass() 10456 if (Param->getDeclName()) in ActOnReenterCXXMethodParameter() [all …]
|
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()
|
H A D | SemaExprObjC.cpp | 1195 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1326 << Method->getDeclName(); in ParseObjCSelectorExpression() 2397 << Method->getDeclName(); in ActOnSuperMessage() 2571 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI() 2667 << Method->getDeclName(); in BuildClassMessage() 2705 << Method->getDeclName(); in BuildClassMessage() 2716 << Method->getDeclName(); in BuildClassMessage() 2724 << Method->getDeclName(); in BuildClassMessage() 2726 << CurMeth->getDeclName(); in BuildClassMessage() 3141 << Method->getDeclName(); in BuildInstanceMessage() [all …]
|
H A D | SemaDecl.cpp | 1979 } else if (!D->getDeclName()) { in ShouldDiagnoseUnusedDecl() 2611 << New->getDeclName(); in MergeTypedefNameDecl() 2706 << New->getDeclName(); in MergeTypedefNameDecl() 2727 << New->getDeclName(); in MergeTypedefNameDecl() 3648 << New->getDeclName(); in MergeFunctionDecl() 3884 << New->getDeclName(); in MergeFunctionDecl() 4544 << New->getDeclName(); in MergeVarDecl() 4616 << New->getDeclName(); in MergeVarDecl() 4620 << New->getDeclName(); in MergeVarDecl() 18583 if (IFD->getDeclName()) in ActOnFields() [all …]
|
/openbsd/gnu/llvm/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 | 538 if (D->getDeclName()) in VisitEnumDecl() 965 if (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() 1644 Out << D->getDeclName(); in VisitUnresolvedUsingValueDecl() 1780 else if (TTP->getDeclName()) in VisitTemplateTypeParmDecl() 1783 if (TTP->getDeclName()) { in VisitTemplateTypeParmDecl() [all …]
|
H A D | ODRDiagsEmitter.cpp | 79 DeclarationName FirstName = FirstMethod->getDeclName(); in diagnoseSubMismatchMethodParameters() 89 DeclarationName SecondName = SecondMethod->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() 491 DeclarationName FirstName = FirstMethod->getDeclName(); in diagnoseSubMismatchObjCMethod() 1705 if (FirstParam->getDeclName() != SecondParam->getDeclName()) { in diagnoseMismatch() 1708 << I + 1 << FirstParam->getDeclName(); in diagnoseMismatch() 1711 << I + 1 << SecondParam->getDeclName(); in diagnoseMismatch() [all …]
|
H A D | ASTStructuralEquivalence.cpp | 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() 1481 if (!D1->getDeclName() && !D2->getDeclName()) { in IsStructurallyEquivalent() 1682 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent() [all …]
|
H A D | Decl.cpp | 1656 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() 3340 if (!Namespace->getDeclName()) in isGlobal() 3756 return getDeclName().getCXXOverloadedOperator(); in getOverloadedOperator() 3764 return getDeclName().getCXXLiteralIdentifier(); in getLiteralIdentifier() 4306 if (!isImplicit() || getDeclName()) in isAnonymousStructOrUnion() 4506 DeclarationName Name = getDeclName(); in printName() [all …]
|
H A D | DeclarationName.cpp | 95 return compare(LHS.getCXXDeductionGuideTemplate()->getDeclName(), in compare() 96 RHS.getCXXDeductionGuideTemplate()->getDeclName()); in compare() 166 getCXXDeductionGuideTemplate()->getDeclName().print(OS, Policy); in print()
|
H A D | DeclBase.cpp | 1491 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 D | ODRHash.cpp | 293 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/gnu/llvm/clang/lib/AST/Interp/ |
H A D | Disasm.cpp | 38 DeclarationName Name = Cons->getParent()->getDeclName(); in dump() 41 OS << F->getDeclName(); in dump()
|
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/ |
H A D | Lookup.cpp | 77 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace() 78 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | ASTUtils.h | 72 if (!ND->getDeclName().isIdentifier()) in safeGetName()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VirtualCallChecker.cpp | 128 OS << "virtual method '" << MD->getParent()->getDeclName() in checkPreCall() 129 << "::" << MD->getDeclName() << "' during "; in checkPreCall()
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | FileIndexRecord.cpp | 65 OS << ' ' << ND->getDeclName(); in print()
|
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()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangExternalASTSourceCallbacks.cpp | 59 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()
|