Home
last modified time | relevance | path

Searched refs:getDerived (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Sema/
DTreeTransform.h125 Derived &getDerived() { return static_cast<Derived&>(*this); } in getDerived() function
128 const Derived &getDerived() const { in getDerived() function
182 OldLocation = Self.getDerived().getBaseLocation(); in TemporaryBase()
183 OldEntity = Self.getDerived().getBaseEntity(); in TemporaryBase()
186 Self.getDerived().setBase(Location, Entity); in TemporaryBase()
190 Self.getDerived().setBase(OldLocation, OldEntity); in ~TemporaryBase()
435 return getDerived().TransformDecl(Loc, D); in TransformDefinition()
448 return cast_or_null<NamedDecl>(getDerived().TransformDecl(Loc, D)); in TransformFirstQualifierInScope()
558 getDerived().getBaseLocation()); in InventTypeSourceInfo()
885 = getDerived().RebuildTemplateName(SS, *Name, NameLoc, QualType(), in RebuildDependentTemplateSpecializationType()
[all …]
DSemaPseudoObject.cpp51 T &getDerived() { return static_cast<T&>(*this); } in getDerived() function
57 return getDerived().rebuildSpecific(specific); in rebuild()
DSemaTemplateInstantiate.cpp1124 Expr *TransformedExpr = getDerived().TransformExpr(LH->getValue()).get(); in TransformLoopHintAttr()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h68 if (!getDerived().CALL_EXPR) \
136 Derived &getDerived() { return *static_cast<Derived *>(this); } in getDerived() function
276 bool WalkUpFromStmt(Stmt *S) { return getDerived().VisitStmt(S); } in WalkUpFromStmt()
348 bool WalkUpFromType(Type *T) { return getDerived().VisitType(T); }
369 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc()
375 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromQualifiedTypeLoc()
379 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromUnqualTypeLoc()
402 bool WalkUpFromDecl(Decl *D) { return getDerived().VisitDecl(D); } in WalkUpFromDecl()
463 if (getDerived().shouldUseDataRecursionFor(CurrS)) { in dataTraverse()
502 return getDerived().WalkUpFrom##NAME(static_cast<CLASS *>(VAR)); \ in dataTraverseNode()
[all …]
DDataRecursiveASTVisitor.h72 if (!getDerived().CALL_EXPR) \
143 Derived &getDerived() { return *static_cast<Derived *>(this); } in getDerived() function
272 bool WalkUpFromStmt(Stmt *S) { return getDerived().VisitStmt(S); } in WalkUpFromStmt()
346 bool WalkUpFromType(Type *T) { return getDerived().VisitType(T); }
367 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc()
373 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromQualifiedTypeLoc()
377 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromUnqualTypeLoc()
400 bool WalkUpFromDecl(Decl *D) { return getDerived().VisitDecl(D); } in WalkUpFromDecl()
467 return getDerived().Traverse##NAME(static_cast<CLASS *>(VAR))
570 return getDerived().Traverse##CLASS##TypeLoc(TL.castAs<CLASS##TypeLoc>()); in TraverseTypeLoc()
[all …]
/external/clang/docs/
DInternalsManual.rst1963 using ``getDerived().TransformYYY``. If all of the subexpressions and