Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DASTFwd.h21 #define DECL(DERIVED, BASE) class DERIVED##Decl; argument
24 #define STMT(DERIVED, BASE) class DERIVED; argument
27 #define TYPE(DERIVED, BASE) class DERIVED##Type; argument
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); }
DStmtIterator.h76 template <typename DERIVED, typename REFERENCE>
89 DERIVED& operator++() {
97 return static_cast<DERIVED&>(*this);
100 DERIVED operator++(int) {
101 DERIVED tmp = static_cast<DERIVED&>(*this);
106 bool operator==(const DERIVED& RHS) const {
110 bool operator!=(const DERIVED& RHS) const {
DASTTypeTraits.h129 #define DECL(DERIVED, BASE) NKI_##DERIVED##Decl, argument
132 #define STMT(DERIVED, BASE) NKI_##DERIVED, argument
135 #define TYPE(DERIVED, BASE) NKI_##DERIVED##Type, argument
183 #define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl)
185 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED)
187 #define TYPE(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Type)
DDeclBase.h84 #define DECL(DERIVED, BASE) DERIVED, argument
/external/clang/include/clang/Sema/
DTemplate.h405 #define DECL(DERIVED, BASE) \ argument
406 Decl *Visit ## DERIVED ## Decl(DERIVED ## Decl *D);
410 #define OBJCCONTAINER(DERIVED, BASE) argument
411 #define FILESCOPEASM(DERIVED, BASE) argument
412 #define IMPORT(DERIVED, BASE) argument
413 #define LINKAGESPEC(DERIVED, BASE) argument
414 #define OBJCCOMPATIBLEALIAS(DERIVED, BASE) argument
415 #define OBJCMETHOD(DERIVED, BASE) argument
416 #define OBJCTYPEPARAM(DERIVED, BASE) argument
417 #define OBJCIVAR(DERIVED, BASE) argument
[all …]
/external/clang/lib/AST/
DASTTypeTraits.cpp32 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" }, argument
35 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED }, argument
38 #define TYPE(DERIVED, BASE) { NKI_##BASE, #DERIVED "Type" }, argument
83 #define DECL(DERIVED, BASE) \ in getFromNode() argument
84 case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl); in getFromNode()
DDeclBase.cpp40 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; argument
48 #define DECL(DERIVED, BASE) \ argument
50 llvm::AlignOf<DERIVED##Decl>::Alignment, \
51 "Alignment sufficient after objects prepended to " #DERIVED);
105 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; in getDeclKindName() argument
125 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; in getDeclKindName() argument
140 #define DECL(DERIVED, BASE) totalDecls += n##DERIVED##s; in PrintStats() argument
146 #define DECL(DERIVED, BASE) \ in PrintStats() argument
147 if (n##DERIVED##s > 0) { \ in PrintStats()
148 totalBytes += (int)(n##DERIVED##s * sizeof(DERIVED##Decl)); \ in PrintStats()
[all …]
DASTDumper.cpp847 #define DECL(DERIVED, BASE) \ in dumpPreviousDecl() argument
848 case Decl::DERIVED: \ in dumpPreviousDecl()
849 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl()
/external/llvm/include/llvm/Support/
DCrashRecoveryContext.h127 template<typename DERIVED, typename T>
135 static DERIVED *create(T *x) { in create()
138 return new DERIVED(context, x); in create()
/external/skia/include/gpu/
DGrGpuResource.h47 template <typename DERIVED> class GrIORef : public SkNoncopyable {
62 if (!static_cast<const DERIVED*>(this)->notifyRefCountIsZero()) { in unref()
122 static_cast<const DERIVED*>(this)->notifyAllCntsAreZero(cntTypeRemoved); in didRemoveRefOrPendingIO()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h91 template <class DERIVED>
94 return llvm::make_unique<DERIVED>(*static_cast<const DERIVED *>(this)); in clone()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp636 template <typename DERIVED>
687 static_cast<DERIVED*>(this)->VisitAddedToCluster(Base, Cluster); in GenerateClusters()
691 if (static_cast<DERIVED*>(this)->includeEntireMemorySpace(Base)) in GenerateClusters()
704 return static_cast<DERIVED*>(this)->AddToWorkList(R); in AddToWorkList()
712 static_cast<DERIVED*>(this)->VisitCluster(BaseR, getCluster(BaseR)); in RunWorkList()
721 static_cast<DERIVED*>(this)->VisitCluster(BaseR, C); in VisitCluster()