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.h39 #define DECL(DERIVED, BASE) \ in Visit() argument
40 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); in Visit()
49 #define DECL(DERIVED, BASE) \ argument
50 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.h600 #define DECL(DERIVED, BASE) \ argument
601 Decl *Visit ## DERIVED ## Decl(DERIVED ## Decl *D);
605 #define OBJCCONTAINER(DERIVED, BASE) argument
606 #define FILESCOPEASM(DERIVED, BASE) argument
607 #define TOPLEVELSTMT(DERIVED, BASE) argument
608 #define IMPORT(DERIVED, BASE) argument
609 #define EXPORT(DERIVED, BASE) argument
610 #define LINKAGESPEC(DERIVED, BASE) argument
611 #define OBJCCOMPATIBLEALIAS(DERIVED, BASE) argument
612 #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.cpp59 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; argument
67 #define DECL(DERIVED, BASE) \ argument
68 static_assert(alignof(Decl) >= alignof(DERIVED##Decl), \
69 "Alignment sufficient after objects prepended to " #DERIVED);
148 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; in getDeclKindName() argument
179 #define DECL(DERIVED, BASE) case Decl::DERIVED: return true; in hasValidDeclKind() argument
188 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; in getDeclKindName() argument
204 #define DECL(DERIVED, BASE) totalDecls += n##DERIVED##s; in PrintStats() argument
210 #define DECL(DERIVED, BASE) \ in PrintStats() argument
211 if (n##DERIVED##s > 0) { \ in PrintStats()
[all …]
H A DASTStructuralEquivalence.cpp2473 #define DECL(DERIVED, BASE) \ in CheckKindSpecificEquivalence() argument
2474 case Decl::Kind::DERIVED: \ in CheckKindSpecificEquivalence()
2475 return ::IsStructurallyEquivalent(*this, static_cast<DERIVED##Decl *>(D1), \ in CheckKindSpecificEquivalence()
2476 static_cast<DERIVED##Decl *>(D2)); in CheckKindSpecificEquivalence()
H A DJSONNodeDumper.cpp13 #define DECL(DERIVED, BASE) \ in addPreviousDeclaration() argument
14 case Decl::DERIVED: \ in addPreviousDeclaration()
15 return writePreviousDeclImpl(cast<DERIVED##Decl>(D)); in addPreviousDeclaration()
H A DTextNodeDumper.cpp53 #define DECL(DERIVED, BASE) \ in dumpPreviousDecl() argument
54 case Decl::DERIVED: \ in dumpPreviousDecl()
55 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp690 template <typename DERIVED>
740 static_cast<DERIVED*>(this)->VisitAddedToCluster(Base, Cluster); in GenerateClusters()
744 if (static_cast<DERIVED*>(this)->includeEntireMemorySpace(Base)) in GenerateClusters()
757 return static_cast<DERIVED*>(this)->AddToWorkList(R); in AddToWorkList()
765 static_cast<DERIVED*>(this)->VisitCluster(BaseR, getCluster(BaseR)); in RunWorkList()
774 static_cast<DERIVED*>(this)->VisitCluster(BaseR, C); in VisitCluster()