clang 23.0.0git
ASTStructuralEquivalence.h File Reference
#include "clang/AST/DeclBase.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include <optional>
#include <queue>
#include <utility>

Go to the source code of this file.

Classes

struct  clang::StructuralEquivalenceContext
struct  clang::StructuralEquivalenceContext::AttrScopedAttrEquivalenceContext
 RAII helper that is used to suppress diagnostics during attribute equivalence checking. More...

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::ASTStructuralEquivalence
 Expose these functions so that they can be called by the functions that check equivalence of attribute arguments.

Enumerations

enum class  clang::StructuralEquivalenceKind { clang::Default , clang::Minimal }
 Whether to perform a normal or minimal equivalence check. More...

Functions

bool clang::ASTStructuralEquivalence::isEquivalent (StructuralEquivalenceContext &Context, QualType T1, QualType T2)
 Determine structural equivalence of two types.
bool clang::ASTStructuralEquivalence::isEquivalent (StructuralEquivalenceContext &Context, const Stmt *S1, const Stmt *S2)
 Determine structural equivalence of two statements.
bool clang::ASTStructuralEquivalence::isEquivalent (const IdentifierInfo *Name1, const IdentifierInfo *Name2)
 Determine whether two identifiers are equivalent.