Home
last modified time | relevance | path

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

12

/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.h131 #define DECL(DERIVED, BASE) NKI_##DERIVED##Decl, argument
134 #define STMT(DERIVED, BASE) NKI_##DERIVED, argument
137 #define TYPE(DERIVED, BASE) NKI_##DERIVED##Type, argument
185 #define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl)
187 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED)
189 #define TYPE(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Type)
/external/llvm-project/clang/include/clang/AST/
DASTFwd.h20 #define DECL(DERIVED, BASE) class DERIVED##Decl; argument
23 #define STMT(DERIVED, BASE) class DERIVED; argument
26 #define TYPE(DERIVED, BASE) class DERIVED##Type; argument
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); }
DStmtIterator.h76 template <typename DERIVED, typename REFERENCE>
90 DERIVED& operator++() {
98 return static_cast<DERIVED&>(*this);
101 DERIVED operator++(int) {
102 DERIVED tmp = static_cast<DERIVED&>(*this);
107 bool operator==(const DERIVED& RHS) const {
111 bool operator!=(const DERIVED& RHS) const {
DASTTypeTraits.h141 #define DECL(DERIVED, BASE) NKI_##DERIVED##Decl, argument
144 #define STMT(DERIVED, BASE) NKI_##DERIVED, argument
147 #define TYPE(DERIVED, BASE) NKI_##DERIVED##Type, argument
202 #define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl)
204 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED)
206 #define TYPE(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Type)
/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/llvm-project/clang/include/clang/Sema/
DTemplate.h496 #define DECL(DERIVED, BASE) \ argument
497 Decl *Visit ## DERIVED ## Decl(DERIVED ## Decl *D);
501 #define OBJCCONTAINER(DERIVED, BASE) argument
502 #define FILESCOPEASM(DERIVED, BASE) argument
503 #define IMPORT(DERIVED, BASE) argument
504 #define EXPORT(DERIVED, BASE) argument
505 #define LINKAGESPEC(DERIVED, BASE) argument
506 #define OBJCCOMPATIBLEALIAS(DERIVED, BASE) argument
507 #define OBJCMETHOD(DERIVED, BASE) argument
508 #define OBJCTYPEPARAM(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
79 #define DECL(DERIVED, BASE) \ in getFromNode() argument
80 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);
106 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; in getDeclKindName() argument
126 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; in getDeclKindName() argument
141 #define DECL(DERIVED, BASE) totalDecls += n##DERIVED##s; in PrintStats() argument
147 #define DECL(DERIVED, BASE) \ in PrintStats() argument
148 if (n##DERIVED##s > 0) { \ in PrintStats()
149 totalBytes += (int)(n##DERIVED##s * sizeof(DERIVED##Decl)); \ in PrintStats()
[all …]
/external/llvm-project/clang/lib/AST/
DASTTypeTraits.cpp35 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" }, argument
38 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED }, argument
41 #define TYPE(DERIVED, BASE) { NKI_##BASE, #DERIVED "Type" }, argument
85 #define DECL(DERIVED, BASE) \ in getFromNode() argument
86 case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl); in getFromNode()
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);
126 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; in getDeclKindName() argument
157 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; in getDeclKindName() argument
173 #define DECL(DERIVED, BASE) totalDecls += n##DERIVED##s; in PrintStats() argument
179 #define DECL(DERIVED, BASE) \ in PrintStats() argument
180 if (n##DERIVED##s > 0) { \ in PrintStats()
181 totalBytes += (int)(n##DERIVED##s * sizeof(DERIVED##Decl)); \ in PrintStats()
[all …]
DASTStructuralEquivalence.cpp2037 #define DECL(DERIVED, BASE) \ in CheckKindSpecificEquivalence() argument
2038 case Decl::Kind::DERIVED: \ in CheckKindSpecificEquivalence()
2039 return ::IsStructurallyEquivalent(*this, static_cast<DERIVED##Decl *>(D1), \ in CheckKindSpecificEquivalence()
2040 static_cast<DERIVED##Decl *>(D2)); in CheckKindSpecificEquivalence()
/external/llvm/include/llvm/Support/
DCrashRecoveryContext.h118 template<typename DERIVED, typename T>
126 static DERIVED *create(T *x) { in create()
129 return new DERIVED(context, x); in create()
/external/skqp/include/gpu/
DGrGpuResource.h47 template <typename DERIVED> class GrIORef : public SkNoncopyable {
62 if (!static_cast<const DERIVED*>(this)->notifyRefCountIsZero()) { in unref()
126 static_cast<const DERIVED*>(this)->notifyAllCntsAreZero(cntTypeRemoved); in didRemoveRefOrPendingIO()
/external/skia/src/gpu/
DGrPixmap.h15 template <typename T, typename DERIVED> class GrPixmapBase {
42 DERIVED clip(SkISize surfaceDims, SkIPoint* surfacePt) { in clip()
53 return DERIVED{this->info().makeDimensions(rect.size()), addr, fRowBytes}; in clip()
DGrGpuResource.h29 template <typename DERIVED> class GrIORef : public SkNoncopyable {
86 static_cast<const DERIVED*>(this)->notifyARefCntIsZero(removedRef); in notifyWillBeZero()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h92 template <class DERIVED>
95 return llvm::make_unique<DERIVED>(*static_cast<const DERIVED *>(this)); in clone()
/external/llvm-project/flang/lib/Evaluate/
Dfold-implementation.h998 template <typename DERIVED, typename RESULT, typename OPERAND>
1000 Operation<DERIVED, RESULT, OPERAND> &operation,
1015 template <typename DERIVED, typename RESULT, typename OPERAND>
1017 FoldingContext &context, Operation<DERIVED, RESULT, OPERAND> &operation)
1022 return Expr<RESULT>{DERIVED{std::move(operand)}};
1026 template <typename DERIVED, typename RESULT, typename LEFT, typename RIGHT>
1028 Operation<DERIVED, RESULT, LEFT, RIGHT> &operation,
1069 template <typename DERIVED, typename RESULT, typename LEFT, typename RIGHT>
1071 FoldingContext &context, Operation<DERIVED, RESULT, LEFT, RIGHT> &operation)
1076 return Expr<RESULT>{DERIVED{std::move(left), std::move(right)}};
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp638 template <typename DERIVED>
688 static_cast<DERIVED*>(this)->VisitAddedToCluster(Base, Cluster); in GenerateClusters()
692 if (static_cast<DERIVED*>(this)->includeEntireMemorySpace(Base)) in GenerateClusters()
705 return static_cast<DERIVED*>(this)->AddToWorkList(R); in AddToWorkList()
713 static_cast<DERIVED*>(this)->VisitCluster(BaseR, getCluster(BaseR)); in RunWorkList()
722 static_cast<DERIVED*>(this)->VisitCluster(BaseR, C); in VisitCluster()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp697 template <typename DERIVED>
747 static_cast<DERIVED*>(this)->VisitAddedToCluster(Base, Cluster); in GenerateClusters()
751 if (static_cast<DERIVED*>(this)->includeEntireMemorySpace(Base)) in GenerateClusters()
764 return static_cast<DERIVED*>(this)->AddToWorkList(R); in AddToWorkList()
772 static_cast<DERIVED*>(this)->VisitCluster(BaseR, getCluster(BaseR)); in RunWorkList()
781 static_cast<DERIVED*>(this)->VisitCluster(BaseR, C); in VisitCluster()
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/
Dkeymaster_defs.proto160 DERIVED = 1; enumerator
/external/llvm-project/flang/include/flang/Evaluate/
Dexpression.h109 template <typename DERIVED, typename RESULT, typename... OPERANDS>
117 using Derived = DERIVED;

12