Home
last modified time | relevance | path

Searched refs:DC1 (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DConfusableIdentifierCheck.cpp98 const DeclContext *DC1 = ND1->getDeclContext()->getPrimaryContext(); in mayShadowImpl() local
105 while (DC1->isTransparentContext()) in mayShadowImpl()
106 DC1 = DC1->getParent(); in mayShadowImpl()
108 if (DC0->Equals(DC1)) in mayShadowImpl()
127 const DeclContext *DC1 = ND1->getDeclContext()->getPrimaryContext(); in mayShadow() local
134 if (const CXXRecordDecl *RD1 = dyn_cast<CXXRecordDecl>(DC1)) { in mayShadow()
140 if (DC0->Encloses(DC1)) in mayShadow()
142 if (DC1->Encloses(DC0)) in mayShadow()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1380 DeclContext *DC1 = D1->getDeclContext()->getNonTransparentContext(); in IsRecordContextStructurallyEquivalent() local
1385 if ((DC1->isFunctionOrMethod() && DC2->isTranslationUnit()) || in IsRecordContextStructurallyEquivalent()
1386 (DC2->isFunctionOrMethod() && DC1->isTranslationUnit())) in IsRecordContextStructurallyEquivalent()
1389 if (DC1->getDeclKind() != DC2->getDeclKind()) in IsRecordContextStructurallyEquivalent()
1391 if (DC1->isTranslationUnit()) in IsRecordContextStructurallyEquivalent()
1393 if (DC1->isInlineNamespace() != DC2->isInlineNamespace()) in IsRecordContextStructurallyEquivalent()
1395 if (const auto *ND1 = dyn_cast<NamedDecl>(DC1)) { in IsRecordContextStructurallyEquivalent()
1397 if (!DC1->isInlineNamespace() && in IsRecordContextStructurallyEquivalent()
1402 DC1 = DC1->getParent()->getNonTransparentContext(); in IsRecordContextStructurallyEquivalent()
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dasinh.cl111 #define DC1 0.95890837357081041150936e0
239 td = fma(t, fma(t, fma(t, fma(t, DC4, DC3), DC2), DC1), DC0);
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp161 const DeclContext *DC1 = Decl1->getDeclContext(); in areExprTypesCompatible() local
164 assert(isa<EnumDecl>(DC1) && isa<EnumDecl>(DC2)); in areExprTypesCompatible()
165 return DC1 == DC2; in areExprTypesCompatible()