Home
last modified time | relevance | path

Searched refs:TyLoc (Results 1 – 11 of 11) 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.h256 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp524 LocTy TyLoc; in ParseStandaloneMetadata() local
529 ParseType(Ty, TyLoc) || in ParseStandaloneMetadata()
655 LocTy TyLoc; in ParseGlobal() local
663 ParseType(Ty, TyLoc)) in ParseGlobal()
677 return Error(TyLoc, "invalid type for global variable"); in ParseGlobal()
702 return Error(TyLoc, in ParseGlobal()
3523 Type *Ty = 0; LocTy TyLoc; in ParseLandingPad() local
3526 if (ParseType(Ty, TyLoc) || in ParseLandingPad()
/external/llvm/lib/AsmParser/
DLLParser.cpp846 LocTy TyLoc; in ParseGlobal() local
854 ParseType(Ty, TyLoc)) in ParseGlobal()
868 return Error(TyLoc, "invalid type for global variable"); in ParseGlobal()
894 return Error(TyLoc, in ParseGlobal()
5788 Type *Ty = nullptr; LocTy TyLoc; in ParseLandingPad() local
5790 if (ParseType(Ty, TyLoc)) in ParseLandingPad()
5961 LocTy SizeLoc, TyLoc; in ParseAlloc() local
5968 if (ParseType(Ty, TyLoc)) return true; in ParseAlloc()
5971 return Error(TyLoc, "invalid type for alloca"); in ParseAlloc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp1006 LocTy TyLoc; in ParseGlobal() local
1014 ParseType(Ty, TyLoc)) in ParseGlobal()
1028 return Error(TyLoc, "invalid type for global variable"); in ParseGlobal()
1054 return Error(TyLoc, in ParseGlobal()
6279 Type *Ty = nullptr; LocTy TyLoc; in ParseLandingPad() local
6281 if (ParseType(Ty, TyLoc)) in ParseLandingPad()
6442 LocTy SizeLoc, TyLoc, ASLoc; in ParseAlloc() local
6450 if (ParseType(Ty, TyLoc)) return true; in ParseAlloc()
6453 return Error(TyLoc, "invalid type for alloca"); in ParseAlloc()
/external/clang/lib/Sema/
DSemaOpenMP.cpp11058 QualType Sema::ActOnOpenMPDeclareReductionType(SourceLocation TyLoc, in ActOnOpenMPDeclareReductionType() argument
11071 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 0; in ActOnOpenMPDeclareReductionType()
11076 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 1; in ActOnOpenMPDeclareReductionType()
11080 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 2; in ActOnOpenMPDeclareReductionType()
11084 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 3; in ActOnOpenMPDeclareReductionType()
DTreeTransform.h4182 template <class TyLoc> static inline
4183 QualType TransformTypeSpecType(TypeLocBuilder &TLB, TyLoc T) { in TransformTypeSpecType()
4184 TyLoc NewT = TLB.push<TyLoc>(T.getType()); in TransformTypeSpecType()
/external/clang/lib/Serialization/
DASTWriter.cpp495 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
498 void VisitArrayTypeLoc(ArrayTypeLoc TyLoc);
499 void VisitFunctionTypeLoc(FunctionTypeLoc TyLoc);
DASTReader.cpp5730 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/external/clang/include/clang/Sema/
DSema.h7994 QualType ActOnOpenMPDeclareReductionType(SourceLocation TyLoc,