Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/AST/
DTypeLocVisitor.h22 Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
27 RetTy Visit(TypeLoc TyLoc) { in Visit() argument
28 switch (TyLoc.getTypeLocClass()) { in Visit()
37 RetTy Visit(UnqualTypeLoc TyLoc) { in Visit() argument
38 switch (TyLoc.getTypeLocClass()) { in Visit()
48 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
53 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); } in VisitTypeLoc() argument
/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/llvm-project/clang/lib/AST/
DTypeLoc.cpp45 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
46 return TyLoc.getLocalSourceRange(); \
64 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
65 return TyLoc.getLocalDataAlignment(); \
84 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
85 return TyLoc.getLocalDataSize(); \
95 TypeLoc TyLoc(Ty, nullptr); in getFullDataSizeForType() local
97 while (!TyLoc.isNull()) { in getFullDataSizeForType()
98 unsigned Align = getLocalAlignmentForType(TyLoc.getType()); in getFullDataSizeForType()
101 Total += TypeSizer().Visit(TyLoc); in getFullDataSizeForType()
[all …]
/external/llvm-project/clang/tools/libclang/
DCursorVisitor.h258 #define TYPELOC(CLASS, PARENT) bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/external/clang/tools/libclang/
DCursorVisitor.h256 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/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/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp1107 LocTy TyLoc; in parseGlobal() local
1114 parseGlobalType(IsConstant) || parseType(Ty, TyLoc)) in parseGlobal()
1128 return error(TyLoc, "invalid type for global variable"); in parseGlobal()
1155 TyLoc, in parseGlobal()
7080 Type *Ty = nullptr; LocTy TyLoc; in parseLandingPad() local
7082 if (parseType(Ty, TyLoc)) in parseLandingPad()
7259 LocTy SizeLoc, TyLoc, ASLoc; in parseAlloc() local
7267 if (parseType(Ty, TyLoc)) in parseAlloc()
7271 return error(TyLoc, "invalid type for alloca"); in parseAlloc()
7311 return error(TyLoc, "Cannot allocate unsized type"); in parseAlloc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp1038 LocTy TyLoc; in ParseGlobal() local
1046 ParseType(Ty, TyLoc)) in ParseGlobal()
1060 return Error(TyLoc, "invalid type for global variable"); in ParseGlobal()
1086 return Error(TyLoc, in ParseGlobal()
6714 Type *Ty = nullptr; LocTy TyLoc; in ParseLandingPad() local
6716 if (ParseType(Ty, TyLoc)) in ParseLandingPad()
6891 LocTy SizeLoc, TyLoc, ASLoc; in ParseAlloc() local
6899 if (ParseType(Ty, TyLoc)) return true; in ParseAlloc()
6902 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/llvm-project/clang/lib/Serialization/
DASTWriter.cpp184 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
187 void VisitArrayTypeLoc(ArrayTypeLoc TyLoc);
188 void VisitFunctionTypeLoc(FunctionTypeLoc TyLoc);
DASTReader.cpp6443 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp17870 QualType Sema::ActOnOpenMPDeclareReductionType(SourceLocation TyLoc, in ActOnOpenMPDeclareReductionType() argument
17883 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 0; in ActOnOpenMPDeclareReductionType()
17888 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 1; in ActOnOpenMPDeclareReductionType()
17892 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 2; in ActOnOpenMPDeclareReductionType()
17896 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 3; in ActOnOpenMPDeclareReductionType()
18141 QualType Sema::ActOnOpenMPDeclareMapperType(SourceLocation TyLoc, in ActOnOpenMPDeclareMapperType() argument
18151 Diag(TyLoc, diag::err_omp_mapper_wrong_type); in ActOnOpenMPDeclareMapperType()
DTreeTransform.h4792 template <class TyLoc> static inline
4793 QualType TransformTypeSpecType(TypeLocBuilder &TLB, TyLoc T) { in TransformTypeSpecType()
4794 TyLoc NewT = TLB.push<TyLoc>(T.getType()); in TransformTypeSpecType()
/external/llvm-project/clang/include/clang/Sema/
DSema.h10270 QualType ActOnOpenMPDeclareReductionType(SourceLocation TyLoc,
10295 QualType ActOnOpenMPDeclareMapperType(SourceLocation TyLoc,
/external/clang/include/clang/Sema/
DSema.h7994 QualType ActOnOpenMPDeclareReductionType(SourceLocation TyLoc,