Home
last modified time | relevance | path

Searched refs:TyLoc (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/AST/
DTypeLocVisitor.h24 Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
29 RetTy Visit(TypeLoc TyLoc) { in Visit() argument
30 switch (TyLoc.getTypeLocClass()) { in Visit()
39 RetTy Visit(UnqualTypeLoc TyLoc) { in Visit() argument
40 switch (TyLoc.getTypeLocClass()) { in Visit()
50 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
55 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); } in VisitTypeLoc() argument
/external/clang/lib/AST/
DTypeLoc.cpp33 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
34 return TyLoc.getLocalSourceRange(); \
50 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51 return TyLoc.getLocalDataAlignment(); \
68 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
69 return TyLoc.getLocalDataSize(); \
78 TypeLoc TyLoc(Ty, nullptr); in getFullDataSizeForType() local
80 while (!TyLoc.isNull()) { in getFullDataSizeForType()
81 unsigned Align = getLocalAlignmentForType(TyLoc.getType()); in getFullDataSizeForType()
84 Total += TypeSizer().Visit(TyLoc); in getFullDataSizeForType()
[all …]
/external/clang/tools/libclang/
DCursorVisitor.h255 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/external/llvm/lib/AsmParser/
DLLParser.cpp792 LocTy TyLoc; in ParseGlobal() local
800 ParseType(Ty, TyLoc)) in ParseGlobal()
813 return Error(TyLoc, "invalid type for global variable"); in ParseGlobal()
839 return Error(TyLoc, in ParseGlobal()
5569 Type *Ty = nullptr; LocTy TyLoc; in ParseLandingPad() local
5571 if (ParseType(Ty, TyLoc)) in ParseLandingPad()
5741 LocTy SizeLoc, TyLoc; in ParseAlloc() local
5747 if (ParseType(Ty, TyLoc)) return true; in ParseAlloc()
5750 return Error(TyLoc, "invalid type for alloca"); in ParseAlloc()
/external/clang/lib/Serialization/
DASTWriter.cpp461 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
464 void VisitArrayTypeLoc(ArrayTypeLoc TyLoc);
465 void VisitFunctionTypeLoc(FunctionTypeLoc TyLoc);
DASTReader.cpp5688 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/external/clang/lib/Sema/
DTreeTransform.h4076 template <class TyLoc> static inline
4077 QualType TransformTypeSpecType(TypeLocBuilder &TLB, TyLoc T) { in TransformTypeSpecType()
4078 TyLoc NewT = TLB.push<TyLoc>(T.getType()); in TransformTypeSpecType()