Home
last modified time | relevance | path

Searched refs:Array1 (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp733 const ArrayType *Array1, in IsArrayStructurallyEquivalent() argument
735 if (!IsStructurallyEquivalent(Context, Array1->getElementType(), in IsArrayStructurallyEquivalent()
738 if (Array1->getSizeModifier() != Array2->getSizeModifier()) in IsArrayStructurallyEquivalent()
740 if (Array1->getIndexTypeQualifiers() != Array2->getIndexTypeQualifiers()) in IsArrayStructurallyEquivalent()
900 const auto *Array1 = cast<ConstantArrayType>(T1); in IsStructurallyEquivalent() local
902 if (!llvm::APInt::isSameValue(Array1->getSize(), Array2->getSize())) in IsStructurallyEquivalent()
905 if (!IsArrayStructurallyEquivalent(Context, Array1, Array2)) in IsStructurallyEquivalent()
917 const auto *Array1 = cast<VariableArrayType>(T1); in IsStructurallyEquivalent() local
919 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
923 if (!IsArrayStructurallyEquivalent(Context, Array1, Array2)) in IsStructurallyEquivalent()
[all …]
H A DExpr.cpp4244 const auto *Array1 = dyn_cast<ArraySubscriptExpr>(E1); in isSameComparisonOperand() local
4246 if (Array1 && Array2) { in isSameComparisonOperand()
4247 if (!isSameComparisonOperand(Array1->getBase(), Array2->getBase())) in isSameComparisonOperand()
4250 auto Idx1 = Array1->getIdx(); in isSameComparisonOperand()