Home
last modified time | relevance | path

Searched refs:DERIVED (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtIterator.h76 template <typename DERIVED, typename REFERENCE>
93 DERIVED& operator++() {
101 return static_cast<DERIVED&>(*this);
104 DERIVED operator++(int) {
105 DERIVED tmp = static_cast<DERIVED&>(*this);
110 friend bool operator==(const DERIVED &LHS, const DERIVED &RHS) {
115 friend bool operator!=(const DERIVED &LHS, const DERIVED &RHS) {
H A DDeclVisitor.h40 #define DECL(DERIVED, BASE) \ in Visit() argument
41 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); in Visit()
50 #define DECL(DERIVED, BASE) \ argument
51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); }
H A DDeclBase.h90 #define DECL(DERIVED, BASE) DERIVED, argument
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h616 #define DECL(DERIVED, BASE) \ argument
617 Decl *Visit ## DERIVED ## Decl(DERIVED ## Decl *D);
621 #define OBJCCONTAINER(DERIVED, BASE) argument
622 #define FILESCOPEASM(DERIVED, BASE) argument
623 #define TOPLEVELSTMT(DERIVED, BASE) argument
624 #define IMPORT(DERIVED, BASE) argument
625 #define EXPORT(DERIVED, BASE) argument
626 #define LINKAGESPEC(DERIVED, BASE) argument
627 #define OBJCCOMPATIBLEALIAS(DERIVED, BASE) argument
628 #define OBJCMETHOD(DERIVED, BASE) argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTTypeTraits.cpp42 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" }, argument
45 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED }, argument
48 #define TYPE(DERIVED, BASE) { NKI_##BASE, #DERIVED "Type" }, argument
122 #define DECL(DERIVED, BASE) \ in getFromNode() argument
123 case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl); in getFromNode()
H A DDeclBase.cpp57 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; argument
65 #define DECL(DERIVED, BASE) \ argument
66 static_assert(alignof(Decl) >= alignof(DERIVED##Decl), \
67 "Alignment sufficient after objects prepended to " #DERIVED);
154 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; in getDeclKindName() argument
185 #define DECL(DERIVED, BASE) case Decl::DERIVED: return true; in hasValidDeclKind() argument
194 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; in getDeclKindName() argument
210 #define DECL(DERIVED, BASE) totalDecls += n##DERIVED##s; in PrintStats() argument
216 #define DECL(DERIVED, BASE) \ in PrintStats() argument
217 if (n##DERIVED##s > 0) { \ in PrintStats()
[all …]
H A DASTStructuralEquivalence.cpp2743 #define DECL(DERIVED, BASE) \ in CheckKindSpecificEquivalence() argument
2744 case Decl::Kind::DERIVED: \ in CheckKindSpecificEquivalence()
2745 return ::IsStructurallyEquivalent(*this, static_cast<DERIVED##Decl *>(D1), \ in CheckKindSpecificEquivalence()
2746 static_cast<DERIVED##Decl *>(D2)); in CheckKindSpecificEquivalence()
H A DJSONNodeDumper.cpp12 #define DECL(DERIVED, BASE) \ in addPreviousDeclaration() argument
13 case Decl::DERIVED: \ in addPreviousDeclaration()
14 return writePreviousDeclImpl(cast<DERIVED##Decl>(D)); in addPreviousDeclaration()
H A DTextNodeDumper.cpp54 #define DECL(DERIVED, BASE) \ in dumpPreviousDecl() argument
55 case Decl::DERIVED: \ in dumpPreviousDecl()
56 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp860 template <typename DERIVED>
910 static_cast<DERIVED*>(this)->VisitAddedToCluster(Base, Cluster); in GenerateClusters()
914 if (static_cast<DERIVED*>(this)->includeEntireMemorySpace(Base)) in GenerateClusters()
927 return static_cast<DERIVED*>(this)->AddToWorkList(R); in AddToWorkList()
935 static_cast<DERIVED*>(this)->VisitCluster(BaseR, getCluster(BaseR)); in RunWorkList()
944 static_cast<DERIVED*>(this)->VisitCluster(BaseR, C); in VisitCluster()