Home | History | Annotate | Download | only in AST

Lines Matching defs:DECL

38 // We put in the elements into the queue only in the toplevel decl check
42 // Decl *D1, Decl *D2);
51 // IsStructurallyEquivalent(StructuralEquivalenceContext &Context, Decl *D1,
52 // Decl *D2)`. So far so good, this is almost like the BFS. However, if we
64 #include "clang/AST/Decl.h"
100 Decl *D1, Decl *D2);
181 Decl *Callee1 = const_cast<Decl *>(E1->getCalleeDecl());
182 Decl *Callee2 = const_cast<Decl *>(E2->getCalleeDecl());
464 // If the kind is different we compare only the template decl.
1413 // incomplete (i.e. it is a forward decl), we assume that they are
1862 Decl *D1, Decl *D2) {
1867 std::pair<Decl *, Decl *> P{D1, D2};
1993 bool StructuralEquivalenceContext::IsEquivalent(Decl *D1, Decl *D2) {
2030 bool StructuralEquivalenceContext::CheckCommonEquivalence(Decl *D1, Decl *D2) {
2045 Decl *D1, Decl *D2) {
2054 #define ABSTRACT_DECL(DECL)
2055 #define DECL(DERIVED, BASE) \
2056 case Decl::Kind::DERIVED: \
2057 return ::IsStructurallyEquivalent(*this, static_cast<DERIVED##Decl *>(D1), \
2058 static_cast<DERIVED##Decl *>(D2));
2067 std::pair<Decl *, Decl *> P = DeclsToCheck.front();
2070 Decl *D1 = P.first;
2071 Decl *D2 = P.second;