Home
last modified time | relevance | path

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

123456

/openbsd/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/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp99 << 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 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()
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 DSemaTemplateInstantiateDecl.cpp1113 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 DAnalysisBasedWarnings.cpp349 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 DSemaDeclCXX.cpp617 << 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 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()
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 DSemaDecl.cpp1979 } 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 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()
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 DODRDiagsEmitter.cpp79 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 DASTStructuralEquivalence.cpp134 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 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()
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 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/gnu/llvm/clang/lib/AST/Interp/
H A DDisasm.cpp38 DeclarationName Name = Cons->getParent()->getDeclName(); in dump()
41 OS << F->getDeclName(); in dump()
/openbsd/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/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h72 if (!ND->getDeclName().isIdentifier()) in safeGetName()
/openbsd/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/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/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp59 if (omd->getDeclName() == Name) in FindExternalVisibleDeclsByName()

123456