|
clang 23.0.0git
|
Expose these functions so that they can be called by the functions that check equivalence of attribute arguments. More...
Functions | |
| bool | isEquivalent (StructuralEquivalenceContext &Context, QualType T1, QualType T2) |
| Determine structural equivalence of two types. | |
| bool | isEquivalent (StructuralEquivalenceContext &Context, const Stmt *S1, const Stmt *S2) |
| Determine structural equivalence of two statements. | |
| bool | isEquivalent (const IdentifierInfo *Name1, const IdentifierInfo *Name2) |
| Determine whether two identifiers are equivalent. | |
Expose these functions so that they can be called by the functions that check equivalence of attribute arguments.
| bool clang::ASTStructuralEquivalence::isEquivalent | ( | const IdentifierInfo * | Name1, |
| const IdentifierInfo * | Name2 ) |
Determine whether two identifiers are equivalent.
Definition at line 616 of file ASTStructuralEquivalence.cpp.
References clang::IdentifierInfo::getName().
| bool clang::ASTStructuralEquivalence::isEquivalent | ( | StructuralEquivalenceContext & | Context, |
| const Stmt * | S1, | ||
| const Stmt * | S2 ) |
Determine structural equivalence of two statements.
Definition at line 565 of file ASTStructuralEquivalence.cpp.
References clang::Stmt::children(), and IsStructurallyEquivalent().
| bool clang::ASTStructuralEquivalence::isEquivalent | ( | StructuralEquivalenceContext & | Context, |
| QualType | T1, | ||
| QualType | T2 ) |
Determine structural equivalence of two types.
Definition at line 888 of file ASTStructuralEquivalence.cpp.
References clang::cast(), clang::QualType::getCanonicalType(), clang::DependentSizedMatrixType::getColumnExpr(), clang::QualType::getDesugaredType(), clang::MatrixType::getElementType(), getKind(), clang::ConstantMatrixType::getNumColumns(), clang::ConstantMatrixType::getNumRows(), getPointeeType(), clang::QualType::getQualifiers(), clang::DependentSizedMatrixType::getRowExpr(), clang::Type::getTypeClass(), getUnderlyingType(), IsArrayStructurallyEquivalent(), clang::Type::isBuiltinType(), IsEquivalentExceptionSpec(), clang::QualType::isNull(), and IsStructurallyEquivalent().
Referenced by IsStructurallyEquivalent(), IsStructurallyEquivalent(), and IsStructurallyEquivalent().