Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A 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
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DFixitUtil.cpp32 TypeLoc TyLoc = VD->getTypeSourceInfo()->getTypeLoc().getUnqualifiedLoc(); in getPointeeTypeText() local
37 switch (TyLoc.getTypeLocClass()) { in getPointeeTypeText()
45 PteTyLoc = TyLoc.getNextTypeLoc(); in getPointeeTypeText()
48 PteTyLoc = TyLoc.castAs<PointerTypeLoc>().getPointeeLoc(); in getPointeeTypeText()
113 TypeLoc TyLoc = VD->getTypeSourceInfo()->getTypeLoc().getUnqualifiedLoc(); in getPointee2TypeText() local
119 switch (TyLoc.getTypeLocClass()) { in getPointee2TypeText()
125 PtrTyLoc = TyLoc.castAs<ReferenceTypeLoc>().getPointeeLoc(); in getPointee2TypeText()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp47 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
48 return TyLoc.getLocalSourceRange(); \
66 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
67 return TyLoc.getLocalDataAlignment(); \
86 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
87 return TyLoc.getLocalDataSize(); \
97 TypeLoc TyLoc(Ty, nullptr); in getFullDataSizeForType() local
99 while (!TyLoc.isNull()) { in getFullDataSizeForType()
100 unsigned Align = getLocalAlignmentForType(TyLoc.getType()); in getFullDataSizeForType()
103 Total += TypeSizer().Visit(TyLoc); in getFullDataSizeForType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp637 AttributedTypeLoc TyLoc = TLB.push<AttributedTypeLoc>(AttributedType); in ProcessAPINotes() local
638 TyLoc.setAttr(attr); in ProcessAPINotes()
H A DSemaOpenMP.cpp22184 QualType SemaOpenMP::ActOnOpenMPDeclareReductionType(SourceLocation TyLoc, in ActOnOpenMPDeclareReductionType() argument
22197 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 0; in ActOnOpenMPDeclareReductionType()
22202 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 1; in ActOnOpenMPDeclareReductionType()
22206 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 2; in ActOnOpenMPDeclareReductionType()
22210 Diag(TyLoc, diag::err_omp_reduction_wrong_type) << 3; in ActOnOpenMPDeclareReductionType()
22458 QualType SemaOpenMP::ActOnOpenMPDeclareMapperType(SourceLocation TyLoc, in ActOnOpenMPDeclareMapperType() argument
22468 Diag(TyLoc, diag::err_omp_mapper_wrong_type); in ActOnOpenMPDeclareMapperType()
H A DTreeTransform.h5464 template <class TyLoc> static inline
5465 QualType TransformTypeSpecType(TypeLocBuilder &TLB, TyLoc T) { in TransformTypeSpecType()
5466 TyLoc NewT = TLB.push<TyLoc>(T.getType()); in TransformTypeSpecType()
H A DSemaDeclCXX.cpp12608 SourceLocation EnumLoc, SourceRange TyLoc, in ActOnUsingEnumDeclaration() argument
12613 SourceLocation IdentLoc = TyLoc.getBegin(); in ActOnUsingEnumDeclaration()
12619 << II.getName() << SourceRange(SS->getBeginLoc(), TyLoc.getEnd()); in ActOnUsingEnumDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1360 LocTy TyLoc; in parseGlobal() local
1367 parseGlobalType(IsConstant) || parseType(Ty, TyLoc)) in parseGlobal()
1381 return error(TyLoc, "invalid type for global variable"); in parseGlobal()
1429 TyLoc, in parseGlobal()
3121 LocTy TyLoc; in parseRangeAttr() local
3134 if (parseToken(lltok::lparen, "expected '('") || parseType(Ty, TyLoc)) in parseRangeAttr()
3137 return error(TyLoc, "the range must have integer type!"); in parseRangeAttr()
8237 Type *Ty = nullptr; LocTy TyLoc; in parseLandingPad() local
8239 if (parseType(Ty, TyLoc)) in parseLandingPad()
8414 LocTy SizeLoc, TyLoc, ASLoc; in parseAlloc() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h259 QualType ActOnOpenMPDeclareReductionType(SourceLocation TyLoc,
284 QualType ActOnOpenMPDeclareMapperType(SourceLocation TyLoc,
H A DSema.h5358 SourceLocation EnumLoc, SourceRange TyLoc,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp343 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
346 void VisitArrayTypeLoc(ArrayTypeLoc TyLoc);
347 void VisitFunctionTypeLoc(FunctionTypeLoc TyLoc);
H A DASTReader.cpp7109 void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);